...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
A trait to determine the lowest layer type of a stack of stream layers.
Defined in header <boost/beast/core/stream_traits.hpp>
template< class T> using lowest_layer_type = see-below;
If t.next_layer()
is well-defined for an object t
of type T
, then lowest_layer_type<T>
will
be an alias for lowest_layer_type<decltype(t.next_layer())>
,
otherwise it will be the type std::remove_reference<T>
.
Name |
Description |
---|---|
|
The type to determine the lowest layer type of. |
The type of the lowest layer.