|
Boost Users : |
From: Slawomir Lisznianski (slisznianski_at_[hidden])
Date: 2005-07-23 12:48:47
Hello,
I'm looking for a way to convert an integral type into its unsigned
equivalent. For example, assume a trait called to_unsigned_integral such
that:
to_unsigned_integral<int>::type ---> yields unsigned int
to_unsigned_integral<short>::type ---> yields unsigned short
to_unsigned_integral<unsigned char>::type ---> yields unsigned char
...
Regards,
Slawomir
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net