CppAD: A C++ Algorithmic Differentiation Package
20171217
|
|
inline |
Swap all properties of this vector with another.
This is useful when moving a vector that grows after it has reached its final size (without copying every element).
other | is the other vector that we are swapping this vector with. |
Definition at line 300 of file pod_vector.hpp.
Referenced by CppAD::ADFun< Base >::capacity_order(), CppAD::local::sparse_sizevec::collect_garbage(), and CppAD::local::player< double >::get().