
12 Feb
2009
12 Feb
'09
3:16 p.m.
From the user point the interface I'd like to propose might look like the following:
int i; std::string s;
1) int i_from_s = boost::string::to<int>(s); // throws 2) std::string s_from_i = boost::string::from<int>(i); 3) bool s_is_i = boost::string::is<int>(i);
Do you consider adding an extra parameter for locale, to get rid of dependency on the global one? Regards, &rzej