Namespaces
Variants
Views
Actions

std::basic_stringstream<CharT,Traits,Allocator>::view

From cppreference.com
std::basic_string_view<CharT, Traits> view() const noexcept;
(since C++20)

Obtains a std::basic_string_view over the underlying string object. Equivalent to return rdbuf()->view();.

Contents

[edit] Parameters

(none)

[edit] Return value

A std::basic_string_view over the underlying string object.

[edit] Example

[edit] See also

(C++20)
obtains a view over the underlying character sequence
(public member function of std::basic_stringbuf<CharT,Traits,Allocator>) [edit]