AFF --- A container for numbers (array) by Friederich and Forbriger.
|
Array< T > aff::ConstArray< T >::copyout | ( | ) | const |
create an identical copy (deep copy) of this array
create a value (deep) copy
This is mainly used to create a copy of a truely identical array (i.e. array with same element type or at least const version of same element type). Use this function in conjunction with the assignment operator. E.g.:
Here arrays A
and B
have exactly the same contents but use different memory. While changes to elements of C
will also affect elements of A
, this not the case for changes applied to B
.
Definition at line 559 of file array.h.
References aff::Array< T >::copyin().