1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2025-01-13 19:56:40 +00:00
Commit graph

3 commits

Author SHA1 Message Date
fe53ea7ea1 Implement as_str() and as_ref() as template as<>().
Also provide a commodity at() that is a synonym
for as<boost::string_ref>() but much shorter to type.
2017-04-24 09:25:04 +01:00
fb4d99d62b Add as_str() and as_ref() convenience methods to SettingsBag.
as_ref() does the same as operator[], but it's nicer to
type when settings bag is a pointer.
2017-04-23 13:54:06 +01:00
b03c3198b8 Make a SettingsBag class that wraps the ini settings.
Easily allows to have default values for options
that are not specified in the loaded ini file.
2017-04-21 23:10:16 +01:00