Wrap

Metafunction to wrap all types in a Tuple with an external template.

template <
  class ... _1>
class Wrap;

Wrap takes a Tuple type and an external template, and produces a new Tuple where each element type has been wrapped with the external template.

SpecializationDescription
Tuple<Ts...>
Full specialization
template <
  class ... Ts>
class Wrap<
  Tuple< Ts... >>;
Specialization for Tuple types.