template<typename VALUE_TYPE, typename COUNTER_TYPE = unsigned int>
requires (default_initializable<COUNTER_TYPE> and unsigned_integral<COUNTER_TYPE>)
struct Stroika::Foundation::Common::CountedValue< VALUE_TYPE, COUNTER_TYPE >
CountedValue is the same as a value, but with a count as well.
Essentially the same as pair<VALUE_TYPE,COUNTER_TYPE> but with more clearly named data elements
- Note
- Comparisons: o static_assert (totally_ordered<VALUE_TYPE> IMPLIES totally_ordered<CountedValue<...>>) o
Definition at line 38 of file CountedValue.h.