45 : cpp_type_(type), data_(std::move(
data)), size_(
size)
VArray< T > typed() const
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)
ImplicitSharingPtr sharing_info
static ArrayData ForValue(const GPointer &value, int64_t size)
static SingleData ForValue(const GPointer &value)
ImplicitSharingPtr sharing_info
static SingleData ForDefaultValue(const CPPType &type)
const DataVariant & data() const
std::variant< ArrayData, SingleData > DataVariant
List(const CPPType &type, DataVariant data, const int64_t size)
static ListPtr create(const CPPType &type, DataVariant data, const int64_t size)
const CPPType & cpp_type() const
void delete_self() override
ImplicitSharingPtr< List > ListPtr