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

Represents an implementation of a writer that we can get how many bytes were written. More...

#include <traits.hpp>

Concept definition

template<typename T>
concept mtcore::WriterImplBytes = requires(const T& ct) {
{ ct.bytes_written() } -> std::same_as<size_t>;
}
Represents an implementation of a writer that we can get how many bytes were written.

Detailed Description

Represents an implementation of a writer that we can get how many bytes were written.

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