...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
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 integral_constant< bool, boost::is_integral< T >::value||(std::numeric_limits< T >::is_integer)> { };