Mirror reflection library 0.5.13

mirror::mp::use_arg< Expr, Params > Struct Template Reference

Returns the N-th Param or the Expr expression. More...

#include <mirror/meta_prog/lambda.hpp>

List of all members.

Public Types

typedef unspecified type
 Either the N-th argument or the Expr itself.

Detailed Description

template<typename Expr, typename... Params>
struct mirror::mp::use_arg< Expr, Params >

Returns the N-th Param or the Expr expression.

This template returns either one of the Params if the Expr type is an instantiation of the arg<N> template or the Expr type itself otherwise.

In the First case the N-th of the Params is returned where N is the argument to the arg placeholder.


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.