Mirror reflection library 0.5.13

mirror::mp::apply_on_seq_pack_c< MetaFunctionClass, N > Struct Template Reference

Calls a nested meta-function with a pack <0,1,2, ... N-1> of ints. More...

#include <mirror/meta_prog/apply_on_seq_pack.hpp>

List of all members.

Public Types

typedef unspecified_type type
 The result of the meta-function with the <0,1,2,...,N-1> params.

Detailed Description

template<typename MetaFunctionClass, int N>
struct mirror::mp::apply_on_seq_pack_c< MetaFunctionClass, N >

Calls a nested meta-function with a pack <0,1,2, ... N-1> of ints.

This template assembles a pack of integral non-type template parameters which form a sequence of 0, 1, 2, ... , N-1 and calls the meta-function called apply nested in the MetaFunctionClass, passing the pack as parameters.

Template Parameters:
MetaFunctionClassa class containing a nested template called apply which can take N integral template parameters having typedef called "type".
Parameters:
Nthe count of arguments for the meta-function.
See also:
apply_on_seq_pack

Member Typedef Documentation

template<typename MetaFunctionClass , int N>
typedef unspecified_type mirror::mp::apply_on_seq_pack_c< MetaFunctionClass, N >::type

The result of the meta-function with the <0,1,2,...,N-1> params.

This type is the result of the following expression

	 *  typename MetaFunctionClass:: template apply<
	 *      0, 1, 2, ..., N-1
	 *  >::type
	 *  

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.