At the moment, the _from_string() function, its variants, and some additional functions such as _is_valid() take their input string as a const char* , meaning that you can't pass an std::string directly. I would expect to be able to do this without any conversions, wtih std::string being the preferred type for (a lot of / most) string work in C++.
If this is not intentional, I suggest variants be added which take const std::string& parameters.
At the moment, the
_from_string()
function, its variants, and some additional functions such as_is_valid()
take their input string as aconst char*
, meaning that you can't pass anstd::string
directly. I would expect to be able to do this without any conversions, wtih std::string being the preferred type for (a lot of / most) string work in C++.If this is not intentional, I suggest variants be added which take
const std::string&
parameters.