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

Represents an implementation of a writer (basically checks if the type can be wrapped with Writer<>) More...

#include <traits.hpp>

Concept definition

template<typename T>
{ t.write(ws) } -> ResultLikeWithValue<size_t>;
{ T::ErrType::OUT_OF_ROOM };
}
Represents a type that fulfills the "result" contract while having a success value of a specific type...
Represents an implementation of a writer (basically checks if the type can be wrapped with Writer<>)
A Slice which is just a pointer + length Accessing elements through the array operator will do bounds...

Detailed Description

Represents an implementation of a writer (basically checks if the type can be wrapped with Writer<>)

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