Namespaces
Variants

operator<< (std::experimental::basic_string_view)

From cppreference.net
定义于头文件 <experimental/string_view>
template < class CharT, class Traits >

std:: basic_ostream < CharT, Traits > &
operator << ( std:: basic_ostream < CharT, Traits > & os,

std:: basic_string_view < CharT, Traits > v ) ;
(库基础 TS)

等价于 os << v. to_string ( )

参数

os - 字符输出流
v - 待插入的视图

返回值

os