
27 Nov
2008
27 Nov
'08
4:57 a.m.
On Tue, 25 Nov 2008 20:05:35 -0800, "Steven Watanabe" <watanabesj@gmail.com> said:
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.
I agree.
In Christ, Steven Watanabe
Regards, Andy Tompkins