xentara-utils v2.0.4
The Xentara Utility Library
|
Marker for using a stop source. More...
#include <xentara/utils/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.