libtcspc C++ API
Streaming TCSPC and time tag data processing
Loading...
Searching...
No Matches
tcspc::data_mapper_for Concept Reference

Description

Concept that is satisfied when T conforms to the libtcspc data mapper interface for event type Event and datapoint type Datapoint.

Determines whether T is move-constructible and provides operator()(Event const &) const returning Datapoint.

Concept definition

template<typename T, typename Event, typename Datapoint>
concept data_mapper_for =
std::move_constructible<T> && requires(T const &m, Event const &e) {
{ m(e) } -> std::same_as<Datapoint>;
}
Concept that is satisfied when T conforms to the libtcspc data mapper interface for event type Event ...
Definition binning.hpp:45