Commit 208596dc authored by Dominik Charousset's avatar Dominik Charousset

Add convenience constant invalid_stream_slot

parent e3267858
......@@ -29,6 +29,9 @@ namespace caf {
/// connection over IP.
using stream_slot = uint16_t;
/// Identifies an invalid slot.
constexpr stream_slot invalid_stream_slot = 0;
/// Maps two `stream_slot` values into a pair for storing sender and receiver
/// slot information.
struct stream_slots : detail::comparable<stream_slots>{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment