boost::capy::any_buffer_source::any_buffer_source

Construct by taking ownership of a BufferSource.

Synopsis

template<BufferSource S>
requires (!std::same_as<std::decay_t<S>, any_buffer_source>)
any_buffer_source(S s);

Description

Allocates storage and moves the source into this wrapper. The wrapper owns the source and will destroy it. If S also satisfies ReadSource, native read operations are forwarded through the virtual boundary.

Parameters

Name Description

s

The source to take ownership of.

Created with MrDocs