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

Represents a type that can be "flushed" (e.g. More...

#include <traits.hpp>

Concept definition

template<typename T>
concept mtcore::Flushable = requires(T &t) {
{ t.flush() } -> ResultLikeWithVoid;
}
Represents a type that can be "flushed" (e.g.
Represents a type that fulfills the "result" contract while having no success value Does NOT check th...

Detailed Description

Represents a type that can be "flushed" (e.g.

flush buffer to disk)

Definition at line 236 of file core/mtcore/traits.hpp.