EleFits  4.0.1
A modern C++ API on top of CFitsIO

◆ Record() [2/2]

template<typename T >
template<typename TFrom >
Euclid::Fits::Record< T >::Record ( const Record< TFrom > &  other)
explicit

Create a record from a Record of another type.

This constructor can be used to homogenize types, for example to create a vector<Record<any>> from various Record<T>s with different Ts.

Warning
Source type TFrom must be castable to destination type T.
See also
cast