21 void delete_self_with_data()
override
91 void delete_self_with_data()
override
129 if (
const auto *array_data = std::get_if<ArrayData>(&data_)) {
132 if (
const auto *single_data = std::get_if<SingleData>(&data_)) {
#define BLI_assert_unreachable()
bool BLI_memory_is_zero(const void *arr, size_t size)
BMesh const char void * data
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
void default_construct_n(void *ptr, int64_t n) const
void destruct_n(void *ptr, int64_t n) const
bool is_trivially_destructible
void fill_construct_n(const void *value, void *dst, int64_t n) const
void copy_construct(const void *src, void *dst) const
void destruct(void *ptr) const
const void * default_value() const
const CPPType * type() const
static GVArray from_span(GSpan span)
static GVArray from_single_ref(const CPPType &type, int64_t size, const void *value)
ArrayImplicitSharingData(void *data, const int64_t size, const CPPType &type)
static ArrayData ForDefaultValue(const CPPType &type, int64_t size)
static ArrayData ForConstructed(const CPPType &type, int64_t size)
static ArrayData ForUninitialized(const CPPType &type, int64_t size)
static ArrayData ForValue(const GPointer &value, int64_t size)
static SingleData ForValue(const GPointer &value)
static SingleData ForDefaultValue(const CPPType &type)
const DataVariant & data() const
void delete_self() override
SingleImplicitSharingData(void *data, const CPPType &type)
void * MEM_mallocN_aligned(size_t len, size_t alignment, const char *str)
void *(* MEM_calloc_arrayN_aligned)(size_t len, size_t size, size_t alignment, const char *str)
void *(* MEM_malloc_arrayN_aligned)(size_t len, size_t size, size_t alignment, const char *str)
const ImplicitSharingInfo * info_for_mem_free(void *data)
static ImplicitSharingPtr sharing_ptr_for_array(void *data, const int64_t size, const CPPType &type)
static ImplicitSharingPtr sharing_ptr_for_value(void *data, const CPPType &type)