ITK  5.4.0
Insight Toolkit
itk::VariableLengthVector< TValue >::KeepValuesRootPolicy Struct Reference

#include <itkVariableLengthVector.h>

Detailed Description

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

VariableLengthVector empty base-class for values Keeping policies. All Values Keeping Policies are expected to inherit from this empty base class.

The preconditions common to all sub classes are:

This policy is only meant to be executed in case of reallocation, i.e. oldBuffer and newBuffer are expected to differ (unchecked).
This presumes TValue assignment is a noexcept operation.
newBuffer is not null (pre-conditions imposed by some implementations of std::copy())
[oldBuffer, oldBuffer+oldSize) is a valid range
See also

Definition at line 249 of file itkVariableLengthVector.h.

+ Inheritance diagram for itk::VariableLengthVector< TValue >::KeepValuesRootPolicy:

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