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

This Variadic templated struct helps us know about the type of the very last or tail item in a parameter pack. It works by peeling of one parameter at a time from the pack and when it hits the last item, it specializes the struct by typedefing the template parameter T in its namespace. More...

#include <MetaStructs.hpp>

Detailed Description

template<std::size_t, typename...>
struct MetaStruct::last_index_type< size_t,... >

This Variadic templated struct helps us know about the type of the very last or tail item in a parameter pack. It works by peeling of one parameter at a time from the pack and when it hits the last item, it specializes the struct by typedefing the template parameter T in its namespace.

Definition at line 429 of file MetaStructs.hpp.


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