ITK  6.0.0
Insight Toolkit
Public Member Functions | List of all members
itk::VariableLengthVector< TValue >::NeverReallocate Struct Reference

#include <itkVariableLengthVector.h>

Detailed Description

template<typename TValue>
struct itk::VariableLengthVector< TValue >::NeverReallocate

VariableLengthVector Allocation Policy: Never reallocate memory. This policy, when used from VariableLengthVector::SetSize(), always implies that the previous internal buffer will be kept. Even if not enough memory was available.

The typical use case of this policy is to make sure a VariableLengthVector is not a proxy object. Returns false (always)

oldSize == newSize, checked by assertion
See also

Definition at line 153 of file itkVariableLengthVector.h.

+ Inheritance diagram for itk::VariableLengthVector< TValue >::NeverReallocate:
+ Collaboration diagram for itk::VariableLengthVector< TValue >::NeverReallocate:

Public Member Functions

bool operator() ([[maybe_unused]] unsigned int newSize, [[maybe_unused]] unsigned int oldSize) const

Member Function Documentation

◆ operator()()

template<typename TValue>
bool itk::VariableLengthVector< TValue >::NeverReallocate::operator() ( [[maybe_unused] ] unsigned int  newSize,
[[maybe_unused] ] unsigned int  oldSize 
) const

Definition at line 156 of file itkVariableLengthVector.h.

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