
17 Feb
2009
17 Feb
'09
8:24 p.m.
on Tue Feb 17 2009, Emil Dotchevski <emildotchevski-AT-gmail.com> wrote:
For example, to_string<int>(s) could also be written as convert<int>(s).
Probably just a slip of the mind, but: to_string doesn't need a template parameter. Explicitly writing to_string<int>(s) is probably a bad idea and convert<int> would correspond to from_string<int>(s). However, maybe we ought to ask why this keeps happening. I think there's something about the convert<...>(...) interface that confuses people. Eliminating directionality might not be such a hot idea. -- Dave Abrahams BoostPro Computing http://www.boostpro.com