MT Core (C++)
Core library for replacing C++ standard in project usage
Loading...
Searching...
No Matches
mtcore::thread::SenderBeforeGrow Concept Reference

Checks if messages can be sent to something (e.g. More...

#include <traits.hpp>

Concept definition

template<typename T>
requires(T &t, const std::chrono::time_point<std::chrono::system_clock> &sc, Allocator &a) {
{ t.send_before(a, {}, sc) } -> ResultLikeWithVoid;
} && SenderBefore<T>
Represents a type that fulfills the "result" contract while having no success value Does NOT check th...
Checks if messages can be sent to something (e.g.
Represents a memory allocator Exact behavior depends on the underlying VTable used Should use the a_*...

Detailed Description

Checks if messages can be sent to something (e.g.

channels) in a blocking manner with a timeout Allocation is allowed to grow the underlying Queue Anything that implements this concept should be non-blocking and may fail to send

Definition at line 138 of file thread/mtcore_thread/traits.hpp.