SpECTRE  2021.08.02
CacheRange< Start, End > Struct Template Reference

Range of integral values for StaticCache indices. The Start is inclusive and the End is exclusive. The range must not be empty. More...

#include <StaticCache.hpp>

Public Types

using value_type = std::remove_cv_t< decltype(start)>
 

Static Public Attributes

constexpr static auto start = Start
 
constexpr static auto end = End
 
constexpr static auto size = end - start
 

Detailed Description

template<auto Start, auto End>
struct CacheRange< Start, End >

Range of integral values for StaticCache indices. The Start is inclusive and the End is exclusive. The range must not be empty.