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

◆ VecColumn()

template<typename T >
Euclid::Fits::VecColumn< T >::VecColumn ( ColumnInfo< std::decay_t< T >>  info,
std::vector< T >  vec 
)

Crate a VecColumn with given data and metadata.

To transfer ownership of the data instead of copying it, use move semantics:

VecColumn column(info, std::move(vec));
std::move
T move(T... args)
Euclid::Fits::Column::info
const ColumnInfo< std::decay_t< T > > & info() const
Get the column metadata.
Euclid::Fits::VecColumn::VecColumn
VecColumn()
Create an empty VecColumn.