Base namespace for asynchronous APIs.
template<class U , class T , class L , template< class > class G, class C >
void scl::async::operator<< |
( |
U & |
value, |
|
|
Channel< T, L, G, C > & |
channel |
|
) |
| |
Extract a value from the channel.
- Template Parameters
-
U | being the type to store the data into |
T | being the type of values in the channel |
L | being the type of locks in the channel |
G | being the type of lock guards in the channel |
C | being the type of container used in the channel |
- Parameters
-
value | being the place to store the extracted data |
channel | being the channel to extract data from |
Definition at line 425 of file Channel.h.
template<class U , class T , class L , template< class > class G, class C >
void scl::async::operator>> |
( |
U && |
value, |
|
|
Channel< T, L, G, C > & |
channel |
|
) |
| |
Forward a value into a channel.
- Template Parameters
-
U | being the type of data to forward |
T | being the type of values in the channel |
L | being the type of locks in the channel |
G | being the type of lock guards in the channel |
C | being the type of container used in the channel |
- Parameters
-
value | being the value to forward |
channel | being the channel to forward the value into |
Definition at line 410 of file Channel.h.