|
Panda3D
|
Specialisation of SimpleKeyValuePair to not waste memory for nullptr_t values. More...
#include "simpleHashMap.h"
Public Member Functions | |
| SimpleKeyValuePair (const Key &key, const std::nullptr_t &data) | |
| SimpleKeyValuePair (const Key &key, std::nullptr_t data) | |
| const std::nullptr_t & | get_data () const |
| std::nullptr_t & | modify_data () |
| void | set_data (const std::nullptr_t &data) |
| void | set_data (std::nullptr_t &&data) |
Static Public Member Functions | |
| static constexpr std::nullptr_t | get_data () |
| static constexpr std::nullptr_t | modify_data () |
| static void | set_data (std::nullptr_t) |
Public Attributes | |
| Key | _key |
| Key | _key |
Specialisation of SimpleKeyValuePair to not waste memory for nullptr_t values.
This allows effectively using SimpleHashMap as a set.
Definition at line 55 of file simpleHashMap.h.
|
inline |
Definition at line 57 of file simpleHashMap.h.
|
inline |
Definition at line 27 of file simpleHashMap.h.
|
inlinestaticconstexpr |
Definition at line 62 of file simpleHashMap.h.
|
inline |
Definition at line 33 of file simpleHashMap.h.
|
inline |
Definition at line 36 of file simpleHashMap.h.
|
inlinestaticconstexpr |
Definition at line 63 of file simpleHashMap.h.
|
inline |
Definition at line 39 of file simpleHashMap.h.
|
inline |
Definition at line 42 of file simpleHashMap.h.
|
inlinestatic |
Definition at line 64 of file simpleHashMap.h.
| Key SimpleKeyValuePair< Key, std::nullptr_t >::_key |
Definition at line 31 of file simpleHashMap.h.
| Key SimpleKeyValuePair< Key, std::nullptr_t >::_key |
Definition at line 60 of file simpleHashMap.h.