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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Struct template as_min<T, std_vector_tag>

boost::numeric::functional::as_min<T, std_vector_tag>

Synopsis

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

template<typename T> 
struct as_min<T, std_vector_tag> {
  // types
  typedef T                       argument_type;
  typedef remove_const< T >::type result_type;  

  // public member functions
  remove_const< T >::type operator()(T &) const;
};

Description

as_min public member functions

  1. remove_const< T >::type operator()(T & arr) const;

PrevUpHomeNext