boost::capy::any_buffer_sink::any_buffer_sink
Construct by taking ownership of a BufferSink.
Synopsis
template<BufferSink S>
requires (!std::same_as<std::decay_t<S>, any_buffer_sink>)
any_buffer_sink(S s);
Description
Allocates storage and moves the sink into this wrapper. The wrapper owns the sink and will destroy it. If S also satisfies WriteSink, native write operations are forwarded through the virtual boundary.
Parameters
| Name | Description |
|---|---|
s |
The sink to take ownership of. |
Created with MrDocs