#include "strutil.hpp"
Go to the source code of this file.
Namespaces | |
namespace | sfl |
Functions | |
template<> | |
std::string | sfl::to_string< bool > (const bool &flag) |
booleans are better represented by "true" and "false" than by 1 and 0. | |
template<> | |
bool | sfl::string_to< bool > (const std::string &str, bool &foo) |
booleans are converted by string matching: "true", "True", "TRUE", "on", "On", or "ON" yield a true boolean, whereas "false", "False", "FALSE", "off", "Off", or "OFF" yield a false boolean. | |
bool | sfl::splitstring (string const &input, char separator, string &head, string &tail) |
Definition in file strutil.cpp.