StringMapEntryBase - Shared base class of StringMapEntry instances.
More...
#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/llvm/include/wpi/StringMapEntry.h>
StringMapEntryBase - Shared base class of StringMapEntry instances.
◆ StringMapEntryBase()
wpi::StringMapEntryBase::StringMapEntryBase |
( |
size_t |
keyLength | ) |
|
|
inlineexplicit |
◆ allocateWithKey()
template<typename AllocatorTy >
void * wpi::StringMapEntryBase::allocateWithKey |
( |
size_t |
EntrySize, |
|
|
size_t |
EntryAlign, |
|
|
std::string_view |
Key, |
|
|
AllocatorTy & |
Allocator |
|
) |
| |
|
staticprotected |
Helper to tail-allocate Key
.
It'd be nice to generalize this so it could be reused elsewhere, maybe even taking an wpi::function_ref to type-erase the allocator and put it in a source file.
◆ getKeyLength()
size_t wpi::StringMapEntryBase::getKeyLength |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file:
- /home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/llvm/include/wpi/StringMapEntry.h