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

PrevUpHomeNext

Struct template modulus_assign_base

boost::numeric::functional::modulus_assign_base

Synopsis

// In header: <boost/accumulators/numeric/functional.hpp>

template<typename Left, typename Right, typename EnableIf = void> 
struct modulus_assign_base : public std::binary_function< Left, Right, typeof(lvalue< Left >()%=lvalue< Right >())>
{

  // public member functions
  result_type operator()(Left &, Right &) const;
};

Description

modulus_assign_base public member functions

  1. result_type operator()(Left & left, Right & right) const;

    Returns:

    left %= right


PrevUpHomeNext