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 an old version of Boost. Click here to view this page for the latest version.

Struct template is_integral

boost::random::traits::is_integral — Traits class that indicates whether type T is an integer.


// In header: <boost/random/traits.hpp>

template<typename T> 
struct is_integral : public mpl::bool_< boost::is_integral< T >::value||(std::numeric_limits< T >::is_integer)>