boost::capy::any_buffer_source::rebind

Rebind to a new source after move.

Synopsis

template<BufferSource S>
void
rebind(S& new_source) noexcept;

Description

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

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

Parameters

Name Description

new_source

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

Created with MrDocs