carb::tasking::Trackers¶
Defined in carb/tasking/TaskingHelpers.h
-
struct
carb::tasking
::
Trackers
¶ Helper class to ensure correct compliance with trackers parameter of ITasking::addTask() variants.
Public Functions
-
template<class
T
, std::enable_if_t<std::is_constructible<Tracker, T>::value, bool> = false>
inline constexprTrackers
(T &&t)¶ Constructor that accepts a single Tracker.
- Parameters
t – The type passed to the Tracker constructor.
-
inline constexpr
Trackers
(std::initializer_list<Tracker> il)¶ Constructor that accepts an initializer_list of Tracker objects.
- Parameters
il – The
std::initializer_list
of Tracker objects.
-
inline
Trackers
(std::initializer_list<Tracker> il, Tracker const *p, size_t count)¶ Constructor that accepts an initializer_list of Tracker objects and additional Tracker objects.
-
template<class