|
Boost : |
Subject: Re: [boost] New Boost.XInt Library, request preliminary review
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-03-26 18:58:52
AMDG
Chad Nelson wrote:
>> i don't like the template constructor however you can ignore this
>> point since i can not provide any arguments yet
>>
>
> I tried several different ways to convert native integer types to
> xint::integer. That's the best one I found. If you could suggest an
> alternative, I'd certainly be willing to entertain it.
>
template<class T>
explicit integer(const T& arg, typename
boost::enable_if<boost::is_integral<T> >::type* = 0);
In Christ,
Steven Watanabe
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk