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

#include <itkVariableLengthVector.h>

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

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:

Precondition
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
itk::VariableLengthVector::SetSize
KeepOldValues
DumpOldValues

Definition at line 251 of file itkVariableLengthVector.h.


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