
28 Feb
2009
28 Feb
'09
11:35 p.m.
From: "Jeff Flinn" <TriumphSprint2000@hotmail.com> Have you thought of making convert a class templated on the destination type which would allow a single function 'from', ala:
int i = convert<int>::from(str, (radix_ = 10, locale_= ...)); int i = convert<int>::from(str, -1, (radix_ = 10, locale_= ...));
Which reads more naturally to me in english, at least.
I think I like it. :-) Thanks. V.