The Sparta Modeling Framework
Loading...
Searching...
No Matches
MetaStruct::sequence_generator<... > Struct Template Reference

This Variadic templated struct basically works much like std::integer_sequence. It represents a compile-time sequence of integers. This is used as a parameter to the Collection function template and helps in type deduction, unpacking and transforming our tuple of random parameters back into a variadic template. More...

#include <MetaStructs.hpp>

Detailed Description

template<std::size_t...>
struct MetaStruct::sequence_generator<... >

This Variadic templated struct basically works much like std::integer_sequence. It represents a compile-time sequence of integers. This is used as a parameter to the Collection function template and helps in type deduction, unpacking and transforming our tuple of random parameters back into a variadic template.

Given a tuple, this Indices Sequence Generator takes that tuple and transforms it back to a variadic template argument.

Definition at line 461 of file MetaStructs.hpp.


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