Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the develop branch, built from commit 1e2fc7b2b8.

Struct template is_signed

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 integral_constant< bool, boost::is_signed< T >::value||(std::numeric_limits< T >::is_specialized &&std::numeric_limits< T >::is_integer &&std::numeric_limits< T >::is_signed)>