Function from_string< std::string >
Synopsis
#include "breeze/text/from_string.hpp"
template <>
maybe< std::string > from_string< std::string >(std::string const &s, std::locale const &)
Description
Specialization for std::string
s.
- Returns
- An (always valid)
maybe
object containing a string which compares equal tos
. - Note
- This specialization is not just an optimization: it ensures that e.g. " test " converts to " test " and not "test".
locale
argument isn't actually used for this specialization.
Source
Line 42 in breeze/text/from_string.hpp.