|
Boost : |
Subject: Re: [boost] [xint] Boost.XInt formal review
From: Gordon Woodhull (gordon_at_[hidden])
Date: 2011-03-05 13:12:34
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?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk