Mirror reflection library 0.5.13

mirror::Range< Elements > Struct Template Reference

Range is a typelist class containing a sequence of types. More...

#include <mirror/doc/concepts_meta_prog.hpp>

List of all members.

Friends

struct empty< Range >
 Meta-function checking if a Range is empty;.
struct size< Range >
 Meta-function returning the number of elements in a Range.
struct front< Range >
 Meta-function returning the front element of a Range.
struct step_front< Range >
 Meta-function returning a Range without the front element.
struct at< Range, Position >
 Meta-function returning an element at the specified Position.
struct at_c< Range, Position >
 Meta-function returning an element at the specified Position.

Detailed Description

template<typename... Elements>
struct mirror::Range< Elements >

Range is a typelist class containing a sequence of types.

Ranges are usually returned by various intrinsic meta-functions which have a sequence of meta-objects as result.

Models:

See also:
mirror::mp::range
mirror::mp::empty
mirror::mp::size
mirror::mp::front
mirror::mp::step_front
mirror::mp::at
mirror::mp::at_c

Friends And Related Function Documentation

template<typename... Elements>
friend struct at< Range, Position > [friend]

Meta-function returning an element at the specified Position.

See also:
mirror::mp::at
Returns:
Element
template<typename... Elements>
friend struct at_c< Range, Position > [friend]

Meta-function returning an element at the specified Position.

See also:
mirror::mp::at_c
Returns:
Element
template<typename... Elements>
friend struct empty< Range > [friend]

Meta-function checking if a Range is empty;.

See also:
mirror::mp::empty
Returns:
BooleanConstantType
template<typename... Elements>
friend struct front< Range > [friend]

Meta-function returning the front element of a Range.

See also:
mirror::mp::front
Returns:
Element
template<typename... Elements>
friend struct size< Range > [friend]

Meta-function returning the number of elements in a Range.

See also:
mirror::mp::size
Returns:
IntegralConstantType
template<typename... Elements>
friend struct step_front< Range > [friend]

Meta-function returning a Range without the front element.

See also:
mirror::mp::step_front
Returns:
Range

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.