Boost C++ Libraries

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

Reference
PrevUpHomeNext

Reference

Misc Algorithms.

Marshall Clow

namespace boost {
  namespace algorithm {
    template<typename T> 
      BOOST_CXX14_CONSTEXPR T identity_operation(std::multiplies< T >);
    template<typename T> 
      BOOST_CXX14_CONSTEXPR T identity_operation(std::plus< T >);
    template<typename T, typename Integer> 
      BOOST_CXX14_CONSTEXPR boost::enable_if< boost::is_integral< Integer >, T >::type 
      power(T, Integer);
    template<typename T, typename Integer, typename Operation> 
      BOOST_CXX14_CONSTEXPR boost::enable_if< boost::is_integral< Integer >, T >::type 
      power(T, Integer, Operation);
  }
}

PrevUpHomeNext