
26 Mar
2010
26 Mar
'10
10:58 p.m.
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