fennec
Loading...
Searching...
No Matches
fennec::index_metasequence< Indices >

metaprogramming integral metasequence More...

#include <metasequences.h>

Inheritance diagram for fennec::index_metasequence< Indices >:
[legend]
Collaboration diagram for fennec::index_metasequence< Indices >:
[legend]

Detailed Description

template<size_t... Indices>
struct fennec::index_metasequence< Indices >

A fennec::integer_metasequence specialized for sequences of size_t indices.

Template Parameters
Indicessequence values

Public Types

using value_type = size_t
 type of the sequence
 
using type = index_metasequence
 self-referential type
 
- Public Types inherited from fennec::integer_metasequence< size_t, Indices... >
using value_type = size_t
 type of the sequence
 
using type = integer_metasequence
 self-referential type
 
- Public Types inherited from fennec::metasequence< ValueT, Values >
using value_type = ValueT
 type of the metasequence
 
using type = metasequence
 self-referential type
 

Static Public Member Functions

static constexpr size_t size () noexcept
 returns the number of elements
 
- Static Public Member Functions inherited from fennec::integer_metasequence< size_t, Indices... >
static constexpr size_t size () noexcept
 returns the number of elements
 
- Static Public Member Functions inherited from fennec::metasequence< ValueT, Values >
static constexpr size_t size () noexcept
 returns the number of elements
 

Member Function Documentation

◆ size()

template<size_t... Indices>
static constexpr size_t fennec::index_metasequence< Indices >::size ( )
inlinestaticconstexprnoexcept
Returns
number of elements in the array

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