basic_ostringstream
basic_ostringstream (문자열 출력 스트림)
std::basic_ostringstream은 문자열에 쓰는 출력 스트림 클래스 템플릿이에요.
출처: cppreference
본문
std::basic_ostringstream은 출력 결과를 메모리 문자열에 저장하는 스트림이에요.
template< class CharT, class Traits = std::char_traits<CharT>, class Allocator = std::allocator<CharT> >
class basic_ostringstream : public std::basic_ostream<CharT, Traits>;
str()로 쌓인 문자열을 얻어요.