Blender  V3.3
Classes | Namespaces
BLI_vector_adaptor.hh File Reference
#include "BLI_span.hh"

Go to the source code of this file.

Classes

class  blender::VectorAdaptor< T >
 

Namespaces

 blender
 

Detailed Description

A blender::VectorAdaptor is a container with a fixed maximum size and does not own the underlying memory. When an adaptor is constructed, you have to provide it with an uninitialized array that will be filled when elements are added to the vector. The vector adaptor is not able to grow. Therefore, it is undefined behavior to add more elements than fit into the provided buffer.

Definition in file BLI_vector_adaptor.hh.