lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
|
Defines default values for invalid & end keys. More...
#include <simple_hash_map.h>
Static Public Member Functions | |
static LEAN_INLINE bool | is_valid (const Key &key) |
Predicate used in key validity checks. | |
Static Public Attributes | |
static const Key | invalid_key |
Invalid key value that is guaranteed never to be used in key-value-pairs. | |
static const Key | end_key = Key() |
Valid key value used as end marker. May still be used in actual key-value-pairs. |
Defines default values for invalid & end keys.
const Key lean::containers::default_keys< Key >::invalid_key [static] |
(numeric_limits<Key>::has_infinity) ? numeric_limits<Key>::infinity : (numeric_limits<Key>::is_unsigned) ? numeric_limits<Key>::max : numeric_limits<Key>::min
Invalid key value that is guaranteed never to be used in key-value-pairs.