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 has_inverse<boost::rational< Integral >>

boost::icl::has_inverse<boost::rational< Integral >>


// In header: <boost/icl/rational.hpp>

template<typename Integral> 
struct has_inverse<boost::rational< Integral >> {
  // types
  typedef has_inverse type;

  // public member functions
   BOOST_STATIC_CONSTANT(bool, value = (boost::is_signed< Integral >::value));


has_inverse public member functions

  1.  BOOST_STATIC_CONSTANT(bool, value = (boost::is_signed< Integral >::value));