20 #ifndef _ANCH_UTILS_CONVERT_H_ 21 #define _ANCH_UTILS_CONVERT_H_ 41 N
convert(
const std::string& str)
throw(std::bad_cast) {
43 std::stringstream conv;
44 conv << std::noskipws << str;
46 if(conv.fail() || !conv.eof()) {
47 throw std::bad_cast();
54 #endif // _ANCH_UTILS_CONVERT_H_ N convert(const std::string &str)
Definition: convert.hpp:41
AnCH framework base namespace.
Definition: base64.hpp:28