Mirror reflection library 0.5.13
|
The accumulate run-time function for range elements. More...
#include <mirror/meta_prog/range.hpp>
#include <mirror/meta_prog/traits.hpp>
#include <mirror/meta_prog/iter_info.hpp>
Go to the source code of this file.
Namespaces | |
namespace | mirror |
All Mirror's types, classes, functions, etc. are defined in this namespace. | |
namespace | mirror::mp |
Contains the meta-programming utilities. | |
Functions | |
template<typename ResultType , typename Functor , typename ValueType , typename IsFirst , typename IsLast > | |
ResultType | mirror::mp::aux::accumulate (Functor func, ValueType final, range<>, IsFirst is_first, IsLast is_last) |
template<typename ResultType , typename T , typename Functor , typename ValueType , typename IsFirst , typename IsLast > | |
ResultType | mirror::mp::aux::accumulate (Functor func, ValueType value, range< T >, IsFirst is_first, IsLast is_last) |
template<typename ResultType , typename T , typename... P, typename Functor , typename ValueType , typename IsFirst , typename IsLast > | |
ResultType | mirror::mp::aux::accumulate (Functor func, ValueType value, range< T, P...>, IsFirst is_first, IsLast is_last) |
template<typename ResultType , typename X , typename Functor , typename ValueType , typename IsFirst , typename IsLast > | |
ResultType | mirror::mp::aux::accumulate (Functor func, ValueType value, X, IsFirst is_first, IsLast is_last) |
template<typename Range , typename ResultType , typename Functor , typename ValueType > | |
ResultType | mirror::mp::accumulate (Functor func, ValueType initial) |
Call the unary functor on all elements of the range. | |
template<typename Range , typename ResultType , typename Functor , typename ValueType > | |
ResultType | mirror::mp::accumulate_ii (Functor func, ValueType initial) |
Call the unary functor on all elements of the range with iteration info. |
The accumulate run-time function for range elements.
Copyright 2008-2011 Matus Chochlik. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)