| Home | Libraries | People | FAQ | More

## Struct template as_one<T, std_valarray_tag>

boost::numeric::functional::as_one<T, std_valarray_tag>

## Synopsis

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

    template<typename T>
    struct as_one<T, std_valarray_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_one` public member functions

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