nf_hist::attach_data

Optional annotation specifying that a collection of the supplied type should be maintained as a parallel array to the type annotated e.g. NOTE(my_units, nf::attach_data<my_graphics>) std::vector<my_unit> my_units;

Synopsis

Declared in <nf/hist.h>

template<typename Attached_type>
inline constexpr attach_data_type<Attached_type> attach_data;

Template Parameters

Name

Description

Attached_type

the type of the elements to use in the parallel array

Created with MrDocs