libycxx

constructor · 13 overloads

std::basic_ostringstream::basic_ostringstream

Header
<sstream> also in <iosfwd>
Scope
std::basic_ostringstream

Constructors

Overloads

  1. basic_ostringstream();
    (1)
  2. basic_ostringstream(const basic_ostringstream& other) = delete;
    (2)
  3. basic_ostringstream(basic_ostringstream&& rhs);
    (3)
  4. explicit basic_ostringstream(ios_base::openmode which);
    (4)
  5. basic_ostringstream(ios_base::openmode which, const Allocator& a);
    (5)
  6. explicit basic_ostringstream(
        const string_type& s,
        ios_base::openmode which = ios_base::out);
    (6)
  7. explicit basic_ostringstream(
        string_type&& s,
        ios_base::openmode which = ios_base::out);
    (7)
  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);
    (8)
  9. template<class T>
      requires is_convertible_v<const T&, basic_string_view<charT, traits>>
    basic_ostringstream(const T& t, const Allocator& a);
    (9)
  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);
    (10)
  11. template<class SAlloc>
    basic_ostringstream(
        const basic_string<charT, traits, SAlloc>& s,
        const Allocator& a);
    (11)
  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);
    (12)
  13. template<class SAlloc>
    basic_ostringstream(
        const basic_string<charT, traits, SAlloc>& s,
        ios_base::openmode which,
        const Allocator& a);
    (13)