C++ Library Extensions 2022.12.09
To help learn modern C++ programming
cpg::types::item_index< T, START, END, STEP, Index > Struct Template Reference

#include <cpg_types.hpp>

Static Public Attributes

static constexpr auto start = START
 
static constexpr auto value = Index
 
static constexpr auto last
 
static constexpr auto end = END
 
static constexpr auto step = STEP
 

Detailed Description

template<typename T, T START, T END, T STEP, T Index>
struct cpg::types::item_index< T, START, END, STEP, Index >

Definition at line 3617 of file cpg_types.hpp.

Member Data Documentation

◆ end

template<typename T , T START, T END, T STEP, T Index>
constexpr auto cpg::types::item_index< T, START, END, STEP, Index >::end = END
staticconstexpr

Definition at line 3625 of file cpg_types.hpp.

◆ last

template<typename T , T START, T END, T STEP, T Index>
constexpr auto cpg::types::item_index< T, START, END, STEP, Index >::last
staticconstexpr
Initial value:
=
hidden::compute_last_index<T, START, END, STEP>()

Definition at line 3622 of file cpg_types.hpp.

◆ start

template<typename T , T START, T END, T STEP, T Index>
constexpr auto cpg::types::item_index< T, START, END, STEP, Index >::start = START
staticconstexpr

Definition at line 3619 of file cpg_types.hpp.

◆ step

template<typename T , T START, T END, T STEP, T Index>
constexpr auto cpg::types::item_index< T, START, END, STEP, Index >::step = STEP
staticconstexpr

Definition at line 3626 of file cpg_types.hpp.

◆ value

template<typename T , T START, T END, T STEP, T Index>
constexpr auto cpg::types::item_index< T, START, END, STEP, Index >::value = Index
staticconstexpr

Definition at line 3620 of file cpg_types.hpp.


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