StormByte-Buffer 4.0.0
C++26 buffer module of the StormByte suite
Loading...
Searching...
No Matches
StormByte::Buffer::Sink< T >::Lane Class Reference

One-key redirect: from.To(key) >> dest. More...

#include <StormByte/buffer/sink.hxx>

Public Member Functions

Sink & operator>> (Sink &dest) noexcept
 Wire this key onto dest.

Friends

class Sink
 Grants the enclosing Sink access to the borrowed lane.

Detailed Description

template<Detail::HopperValue T>
class StormByte::Buffer::Sink< T >::Lane

One-key redirect: from.To(key) >> dest.

Member Function Documentation

◆ operator>>()

template<Detail::HopperValue T>
Sink & StormByte::Buffer::Sink< T >::Lane::operator>> ( Sink & dest)
noexcept

Wire this key onto dest.

Parameters
destConsumer (or extra writer) Sink.
Returns
dest.

This Sink has no hopper yet: this is the writer, dest is the reader. This Sink already has the hopper: dest is a co-writer.

◆ Sink

template<Detail::HopperValue T>
friend class Sink
friend

Grants the enclosing Sink access to the borrowed lane.


The documentation for this class was generated from the following file: