sparrow-ipc 0.2.0
Loading...
Searching...
No Matches
sparrow_ipc::writable_stream Concept Reference

Concept for stream-like types that support write operations. More...

#include <any_output_stream.hpp>

Concept definition

template<typename T>
concept sparrow_ipc::writable_stream = requires(T& t, const char* s, std::streamsize count) {
{ t.write(s, count) };
}
Concept for stream-like types that support write operations.

Detailed Description

Concept for stream-like types that support write operations.

A type satisfies this concept if it has a write method that accepts a span of bytes and returns the number of bytes written.

Definition at line 21 of file any_output_stream.hpp.