constructor · 13 overloads
std::basic_ostringstream::basic_ostringstream
- Scope
std::basic_ostringstream- cppreference
- std::basic_ostringstream::basic_ostringstream
Constructors
Overloads
- (1)
basic_ostringstream(); - (2)
basic_ostringstream(const basic_ostringstream& other) = delete; - (3)
basic_ostringstream(basic_ostringstream&& rhs); - (4)
explicit basic_ostringstream(ios_base::openmode which); - (5)
basic_ostringstream(ios_base::openmode which, const Allocator& a); - (6)
explicit basic_ostringstream( const string_type& s, ios_base::openmode which = ios_base::out); - (7)
explicit basic_ostringstream( string_type&& s, ios_base::openmode which = ios_base::out); - (8)
template<class T> requires is_convertible_v<const T&, basic_string_view<charT, traits>> explicit basic_ostringstream( const T& t, ios_base::openmode which = ios_base::out); - (9)
template<class T> requires is_convertible_v<const T&, basic_string_view<charT, traits>> basic_ostringstream(const T& t, const Allocator& a); - (10)
template<class SAlloc> requires (!is_same_v<SAlloc, Allocator>) explicit basic_ostringstream( const basic_string<charT, traits, SAlloc>& s, ios_base::openmode which = ios_base::out); - (11)
template<class SAlloc> basic_ostringstream( const basic_string<charT, traits, SAlloc>& s, const Allocator& a); - (12)
template<class T> requires is_convertible_v<const T&, basic_string_view<charT, traits>> basic_ostringstream( const T& t, ios_base::openmode which, const Allocator& a); - (13)
template<class SAlloc> basic_ostringstream( const basic_string<charT, traits, SAlloc>& s, ios_base::openmode which, const Allocator& a);