
5 Mar
2011
5 Mar
'11
6:12 p.m.
On Mar 5, 2011, at 12:57 PM, Chad Nelson wrote:
Since I had to_string and to_binary, a set of to_integer functions would have been ideal. But to *what* integer? The type is a template with many options. The best I could come up with would have required client code like this:
value = to_integer<integer>(...)
Making those constructors eliminated the need to specify a type parameter to a function, allowing this instead:
value = integer(...)
Don't you still have to specify any template parameters here?