C(++)ECCO
C++ Error Control COding: a header-only library for ECC simulations and experiments, modeling complete coding systems across arbitrary finite fields and complex inter-field relationships - Christian Senger <senger@inue.uni-stuttgart.de>
Loading...
Searching...
No Matches
CECCO::details::CacheEntry< ID, T > Struct Template Reference

Cache entry specification. More...

#include <helpers.hpp>

Public Types

using type = T

Static Public Attributes

static constexpr auto id = ID

Detailed Description

template<auto ID, typename T>
struct CECCO::details::CacheEntry< ID, T >

Cache entry specification.

Template Parameters
IDEntry identifier
TStored value type

Associates an entry ID with its value type for Cache.

Note
IDs must be unique within one Cache instance.

Definition at line 377 of file helpers.hpp.

Member Typedef Documentation

◆ type

template<auto ID, typename T>
using CECCO::details::CacheEntry< ID, T >::type = T

Definition at line 379 of file helpers.hpp.

Member Data Documentation

◆ id

template<auto ID, typename T>
auto CECCO::details::CacheEntry< ID, T >::id = ID
staticconstexpr

Definition at line 378 of file helpers.hpp.


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