basic_ospanstream

basic_ospanstream (스팬 출력 스트림)

std::basic_ospanstream은 연속 메모리에 쓰는 출력 스트림이에요. C++23에서 추가됐어요.

출처: cppreference

본문

std::basic_ospanstreamstd::span을 출력 대상으로 쓰는 스트림이에요.

template< class CharT, class Traits = std::char_traits<CharT> >
class basic_ospanstream : public std::basic_ostream<CharT, Traits>;

사전 할당된 메모리에 결과를 쓸 때 유용해요.

더 알아보기 (Learn more)

cppreference