boost::random::traits::is_signed — Traits class that indicates whether type T is a signed integer.
// In header: <boost/random/traits.hpp> template<typename T> struct is_signed : public { };