std::basic_spanbuf<CharT,Traits>::span

  1. Gets a span referencing the written area if std::ios_base::out is set in the open mode, or a span referencing the underlying buffer otherwise.

# Declarations

std::span<CharT> span() const noexcept;

(since C++23)

void span( std::span<CharT> s ) noexcept;

(since C++23)

# Parameters

# Example

This section is incompleteReason: no example

# See also