EleFits  5.0.0
A modern C++ API on top of CFITSIO

◆ moveTo()

TContainer & moveTo ( TContainer &  destination)
inline

Move the container.

This method is used to take ownership on the data without copying it. Example usage:

VecRaster<float> raster(...);
raster.moveTo(data);
// Values have been moved to data without copy.
// raster.vector() is in an unspecified state now.
T * data()
Inherit data holder's data().
Definition: DataContainer.h:250
Warning
The container is not usable anymore after this call.