Mirror reflection library 0.5.13

mirror::Optional< Element > Struct Template Reference

Optional is a class that can optionally contain a single type element. More...

#include <mirror/doc/concepts_meta_prog.hpp>

List of all members.

Friends

struct nil< Optional >
 Meta-function checking if a Optional is nil;.
struct get< Optional >
 Meta-function returning the number of elements in a Optional.

Detailed Description

template<typename Element>
struct mirror::Optional< Element >

Optional is a class that can optionally contain a single type element.

Models:

See also:
mirror::mp::optional
mirror::mp::nil
mirror::mp::get

Friends And Related Function Documentation

template<typename Element >
friend struct get< Optional > [friend]

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

See also:
mirror::mp::get
Returns:
Element
template<typename Element >
friend struct nil< Optional > [friend]

Meta-function checking if a Optional is nil;.

See also:
mirror::mp::nil
Returns:
BooleanConstantType

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.