xentara-utils v1.2.1
Xentara utilities library
|
Marker for using a stop source. More...
#include <network/Options.hpp>
Public Member Functions | |
constexpr | WithStopSource (const io::StopSource &stopSource) |
Conversion constructor from a stop source reference. | |
constexpr | operator const io::StopSource & () const |
Conversion to a stop source pointer. | |
Marker for using a stop source.
This marker is used to specify a stop source for certain socket operations.
Just cast a reference to the stop source to WithStopSource:
|
explicitconstexpr |
Conversion constructor from a stop source reference.
|
explicitconstexpr |
Conversion to a stop source pointer.