Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2001-01-21 19:55:29


Now I've been using is_signed_integral<T> to find out whether a
compiler-supplied type is signed or not, and I've been getting away with it,
but it turns out you can't even do that.
is_standard_signed_integral<T> isn't specialized for char. I (now)
understand the logic behind it, since the standard doesn't specify whether
char is signed or unsigned, but then why do all my uses of
is_signed_integral<char> seem to compile without complaint?

I think we have to get a lot clearer about the intent of type_traits in its
documentation.

-Dave


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk