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

Checks if messages can be sent in a blocking manner. More...

#include <traits.hpp>

Concept definition

template<typename T>
concept mtcore::thread::SenderBlock = requires(T &t) {
{ t.send_block({}) } -> ResultLikeWithVoid;
}
Represents a type that fulfills the "result" contract while having no success value Does NOT check th...
Checks if messages can be sent in a blocking manner.

Detailed Description

Checks if messages can be sent in a blocking manner.

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