operator<<(std::basic_string_view)
: cppreference.com
<tbody>
</tbody>
template <class CharT, class Traits> std::basic_ostream<CharT, Traits>& operator<<(std::basic_ostream<CharT, Traits>& os, std::basic_string_view <CharT, Traits> v); |
(C++17) | |
FormattedOutputFunction sentry
- a)
v.size()os.width()[v.begin(), v.end()) - b)
(os.flags() & ios_base::adjustfield) == ios_base::leftos.fill()os.width()-v.size() - c)
os.fill()os.width()-v.size()
os.rdbuf()->sputn(seq, std::max(os.width(), str.size())) (v + ) os
std::setw () os.width(0)
| os | - | |
| v | - |
os
| () |