strstream

strstream (문자열 스트림(구식))

std::strstream은 구식 문자열 입출력 스트림이에요. std::stringstream으로 대체되었어요.

출처: cppreference

본문

std::strstream은 C++ 초기에 쓰이던 문자열 스트림이에요. char 배열을 버퍼로 사용해요.

class strstream : public std::iostream;

메모리 관리를 직접 해야 해서 버그가 많아 현재는 std::stringstream을 권장해요.

더 알아보기 (Learn more)

cppreference