Blender V5.0
blender::VectorData< T, Allocator > Struct Template Reference

#include <BLI_vector.hh>

Public Attributes

Tdata = nullptr
int64_t size = 0
int64_t capacity = 0
BLI_NO_UNIQUE_ADDRESS Allocator allocator

Detailed Description

template<typename T, typename Allocator>
struct blender::VectorData< T, Allocator >

This is used in #Vector::from_raw and Vector::release to transfer ownership of the underlying data-array into and out of the Vector. Note that this struct does not do any memory management.

Definition at line 50 of file BLI_vector.hh.

Member Data Documentation

◆ allocator

template<typename T, typename Allocator>
BLI_NO_UNIQUE_ADDRESS Allocator blender::VectorData< T, Allocator >::allocator

Definition at line 54 of file BLI_vector.hh.

◆ capacity

template<typename T, typename Allocator>
int64_t blender::VectorData< T, Allocator >::capacity = 0

Definition at line 53 of file BLI_vector.hh.

◆ data

◆ size

template<typename T, typename Allocator>
int64_t blender::VectorData< T, Allocator >::size = 0

Definition at line 52 of file BLI_vector.hh.

Referenced by remove_in_and_out_node_panel_recursive().


The documentation for this struct was generated from the following file: