StormByte C++ Library: Buffer module 1.2.0
StormByte-Buffer is the buffer module of the StormByte C++ suite.
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
StormByte::Buffer::Sink< T >::Lane Class Reference

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

#include <StormByte/buffer/sink.hxx>

Public Member Functions

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

Friends

class Sink
 

Detailed Description

template<Type::MoveConstructible T>
class StormByte::Buffer::Sink< T >::Lane

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

Member Function Documentation

◆ operator>>()

template<Type::MoveConstructible 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.

Friends And Related Symbol Documentation

◆ Sink

template<Type::MoveConstructible T>
friend class Sink
friend

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