Mirror reflection library 0.5.13

mirror::mp::transform< Range, UnaryMetaFnClass > Struct Template Reference

Returns a range containing elements transformed by a unary function. More...

#include <mirror/meta_prog/transform.hpp>

List of all members.

Public Types

typedef Range type
typedef transform< typename
X::type, Predicate >::type 
type

Public Member Functions

 MIRROR_ASSERT_RETURNS_RANGE (X)

Detailed Description

template<class Range, class UnaryMetaFnClass>
struct mirror::mp::transform< Range, UnaryMetaFnClass >

Returns a range containing elements transformed by a unary function.

Template Parameters:
Rangethe range to be transformed
UnaryMetaFnClassthe meta-function class transforming the elements
Examples:

mirror/example/meta_prog_04.cpp, mirror/example/meta_prog_13.cpp, and mirror/example/meta_prog_14.cpp.


The documentation for this struct was generated from the following file:

Copyright © 2006-2011 Matus Chochlik, University of Zilina, Zilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Fri Dec 16 2011 by Doxygen (version 1.7.3).
Important note: Although the 'boostified' version of Mirror uses the Boost C++ libraries Coding Guidelines and is implemented inside of the boost namespace, it IS NOT an officially reviewed and accepted Boost library. Mirror is being developed with the intention to be submitted for review for inclusion to the Boost C++ libraries.