Class internal::list¶
template <typename T>
Class List > internal > list
Linked list without allocation. More...
#include <channel.hpp>
Public Functions¶
Type | Name |
---|---|
bool | is_empty () noexcept const |
auto | pop () noexcept |
void | push (T * node) noexcept |
Detailed Description¶
Template parameters:
T
Type of the node. Its member must havenext
pointer
Public Functions Documentation¶
function is_empty¶
inline bool internal::list::is_empty () noexcept const
function pop¶
inline auto internal::list::pop () noexcept
Returns:
T* The return can be nullptr
function push¶
inline void internal::list::push (
T * node
) noexcept
The documentation for this class was generated from the following file interface/coroutine/channel.hpp