Key counter functor.
More...
#include <KeyCount.hh>
◆ Size
◆ size_type
◆ KeyCount() [1/2]
utility::keys::KeyCount::KeyCount |
( |
Size const |
count_a | ) |
|
|
inlineexplicit |
◆ KeyCount() [2/2]
utility::keys::KeyCount::KeyCount |
( |
Size const |
count_a, |
|
|
Size const |
expected_count |
|
) |
| |
|
inlineexplicit |
Count + expected count constructor.
- Note
- Useful if a namespace constant is stored with the number of keys so that other namespace-scoped UserKeys can set contiguous indexes without global initialization order issues
References count_, and debug_assert.
◆ operator()()
Size utility::keys::KeyCount::operator() |
( |
| ) |
const |
|
inline |
◆ count_
Size utility::keys::KeyCount::count_ |
|
private |
The documentation for this class was generated from the following file: