
26 Nov
2008
26 Nov
'08
4:05 a.m.
AMDG Andy Tompkins wrote:
* In Representation: Is there a reason for a .to_string() member function instead of an operator std::string()? I.e., it reduces std::string s = u.to_string() to std::string s( u );
I tend to avoid implicit conversions. One can also use boost::lexical_cast<std::string>(uuid). Again, if this list wants operator std::string() and the like, I will add it.
I don't think an implicit conversion here would be a good idea. In Christ, Steven Watanabe