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

This is the documentation for a snapshot of the develop branch, built from commit 0da16e0695.
PrevUpHomeNext

Struct template as_max_base

boost::numeric::functional::as_max_base

Synopsis

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

template<typename Arg, typename EnableIf> 
struct as_max_base {
  // types
  typedef Arg                       argument_type;
  typedef remove_const< Arg >::type result_type;  

  // public member functions
   BOOST_STATIC_ASSERT(std::numeric_limits< typename remove_const< Arg >::type >::is_specialized);
  remove_const< Arg >::type operator()(Arg &) const;
};

Description

as_max_base public member functions

  1.  BOOST_STATIC_ASSERT(std::numeric_limits< typename remove_const< Arg >::type >::is_specialized);
  2. remove_const< Arg >::type operator()(Arg &) const;

PrevUpHomeNext