54 values_.
add_new_as(std::forward<ForwardKey>(key), value);
78 template<
typename ForwardKey,
typename T>
void add_new(ForwardKey &&key,
T &&value)
80 if constexpr (std::is_rvalue_reference_v<T>) {
93 return values_.
pop_as(key);
97 template<
typename T,
typename ForwardKey>
T extract(
const ForwardKey &key)
103 type.relocate_to_initialized(value.
get(), &return_value);
107 template<
typename T,
typename ForwardKey>
const T &
lookup(
const ForwardKey &key)
const
112 return *(
const T *)value.
get();
115 template<
typename ForwardKey>
bool contains(
const ForwardKey &key)
const
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
void * allocate(const int64_t size, const int64_t alignment)
Value pop_as(const ForwardKey &key)
void add_new_as(ForwardKey &&key, ForwardValue &&value)
ValueIterator values() const
bool contains_as(const ForwardKey &key) const
const Value & lookup_as(const ForwardKey &key) const
const CPPType * type() const
const CPPType * type() const
GMutablePointer extract(const ForwardKey &key)
T extract(const ForwardKey &key)
const T & lookup(const ForwardKey &key) const
void add_new(ForwardKey &&key, T &&value)
void add_new_by_copy(ForwardKey &&key, GPointer value)
void add_new_direct(ForwardKey &&key, GMutablePointer value)
GValueMap(LinearAllocator<> &allocator)
void add_new_by_move(ForwardKey &&key, GMutablePointer value)
bool contains(const ForwardKey &key) const
__kernel void ccl_constant KernelData ccl_global void ccl_global char ccl_global int ccl_global char ccl_global unsigned int ccl_global float * buffer