libxr  1.0
Want to be the best embedded framework
Loading...
Searching...
No Matches
LibXR::Print::OutputSink Concept Reference

接收编译格式输出的写入端。 More...

#include <print_contract.hpp>

Concept definition

template<typename Sink>
concept LibXR::Print::OutputSink = requires(Sink& output, std::string_view text)
{
{ output.Write(text) } -> std::convertible_to<ErrorCode>;
}
接收编译格式输出的写入端。

Detailed Description

接收编译格式输出的写入端。

Output endpoint accepted by compiled format writers.

Definition at line 20 of file print_contract.hpp.