#include "ini-config.hpp"
-bool starts_with(const std::string& text, const std::string& token)
+bool starts_with(const std::string& text, const std::string& token)
{
if(text.length() < token.length()) return false;
return (text.compare(0, token.length(), token) == 0);
{
map ret;
std::string key;
-
+
std::string prefix = section + '/';
for(auto i = config_.begin();
i != config_.end();
}
}
return line_type::ignore;
-}
\ No newline at end of file
+}