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

Description

Concept that is satisfied when a processor handles flushing.

Determines whether the processor Proc handles flush() (which all processors should).

If flush() exists but has a return type other than void, the concept is not satisfied.

Concept definition

template<typename Proc>
concept flushable = requires(Proc &p) {
{ p.flush() } -> std::same_as<void>;
}
Concept that is satisfied when a processor handles flushing.
Definition processor.hpp:29