C++ Library Extensions 2022.12.09
To help learn modern C++ programming
tpf::types::indexer_2d_type< T, RowValue, ColumnValue > Struct Template Reference

#include <tpf_types.hpp>

Public Types

using type = T
 

Public Member Functions

template<auto RowIndex, auto ColumnIndex>
constexpr auto operator() (indexer_t< RowIndex >, indexer_t< ColumnIndex >)
 

Static Public Attributes

static constexpr T Row = RowValue
 
static constexpr T RowSize = RowValue
 
static constexpr T Column = ColumnValue
 
static constexpr T ColumnSize = ColumnValue
 

Detailed Description

template<typename T, T RowValue, T ColumnValue>
struct tpf::types::indexer_2d_type< T, RowValue, ColumnValue >

Definition at line 2229 of file tpf_types.hpp.

Member Typedef Documentation

◆ type

template<typename T , T RowValue, T ColumnValue>
using tpf::types::indexer_2d_type< T, RowValue, ColumnValue >::type = T

Definition at line 2231 of file tpf_types.hpp.

Member Function Documentation

◆ operator()()

template<typename T , T RowValue, T ColumnValue>
template<auto RowIndex, auto ColumnIndex>
constexpr auto tpf::types::indexer_2d_type< T, RowValue, ColumnValue >::operator() ( indexer_t< RowIndex >  ,
indexer_t< ColumnIndex >   
)
inlineconstexpr

Definition at line 2242 of file tpf_types.hpp.

Member Data Documentation

◆ Column

template<typename T , T RowValue, T ColumnValue>
constexpr T tpf::types::indexer_2d_type< T, RowValue, ColumnValue >::Column = ColumnValue
staticconstexpr

Definition at line 2234 of file tpf_types.hpp.

◆ ColumnSize

template<typename T , T RowValue, T ColumnValue>
constexpr T tpf::types::indexer_2d_type< T, RowValue, ColumnValue >::ColumnSize = ColumnValue
staticconstexpr

Definition at line 2235 of file tpf_types.hpp.

◆ Row

template<typename T , T RowValue, T ColumnValue>
constexpr T tpf::types::indexer_2d_type< T, RowValue, ColumnValue >::Row = RowValue
staticconstexpr

Definition at line 2232 of file tpf_types.hpp.

◆ RowSize

template<typename T , T RowValue, T ColumnValue>
constexpr T tpf::types::indexer_2d_type< T, RowValue, ColumnValue >::RowSize = RowValue
staticconstexpr

Definition at line 2233 of file tpf_types.hpp.


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