boost::capy::any_buffer_sink::rebind

Rebind to a new sink after move.

Synopsis

template<BufferSink S>
void
rebind(S& new_sink) noexcept;

Description

Updates the internal pointer to reference a new sink object. Used by owning wrappers after move assignment when the owned object has moved to a new location.

Terminates if called with a sink of different type than the original.

Parameters

Name Description

new_sink

The new sink to bind to. Must be the same type as the original sink.

Created with MrDocs