Audacity 3.2.0
Classes | Typedefs | Functions
anonymous_namespace{Track.h} Namespace Reference

Classes

class  CollectTrackTypes
 Embedded type member is the tuple of track types so far declared in the compilation unit. More...
 
class  CountTrackTypes
 Embedded value member counts track types so far declared in the compilation unit. More...
 
struct  TrackTypeCounter
 Implements the ENUMERATE_TRACK_TYPE macro. More...
 
struct  TrackTypeCountTag
 Empty class which will have subclasses. More...
 

Typedefs

template<unsigned U, typename Tag >
using EnumeratedTrackType = std::remove_reference_t< decltype(enumerateTrackTypes(Tag{}, std::integral_constant< unsigned, U >{})) >
 What type is associated with U (at the point of instantiation for Tag)? More...
 

Functions

auto enumerateTrackTypes (TrackTypeCountTag,...) -> void
 

Typedef Documentation

◆ EnumeratedTrackType

template<unsigned U, typename Tag >
using anonymous_namespace{Track.h}::EnumeratedTrackType = typedef std::remove_reference_t< decltype( enumerateTrackTypes( Tag{}, std::integral_constant<unsigned, U>{} ) ) >

What type is associated with U (at the point of instantiation for Tag)?

Definition at line 67 of file Track.h.

Function Documentation

◆ enumerateTrackTypes()

auto anonymous_namespace{Track.h}::enumerateTrackTypes ( TrackTypeCountTag  ,
  ... 
) -> void

Declared but undefined function, whose overloads will define a compile-time function from integers to known sub-types of Track