Boost C++ 库

…全球最受推崇、设计最精良的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu, C++ Coding Standards

函数模板 operator<< - Boost C++ 函数库
PrevUpHomeNext

函数模板 operator<<

boost::logic::operator<< — 将不确定三布尔值写入流。

提要

// In header: <boost/logic/tribool_io.hpp>


template<typename CharT, typename Traits> 
  std::basic_ostream< CharT, Traits > & 
  operator<<(std::basic_ostream< CharT, Traits > & out, unspecified);

描述

此例程输出整数值 2(如果 (out.flags() & std::ios_base::boolalpha) == 0),或者输出不确定值的名称。不确定值的名称来自 indeterminate_name facet(如果它在输出流的 locale 中已定义),或者来自 get_default_indeterminate_name 函数(如果它未在 locale 中定义,或者 C++ 标准库实现不支持 locale)。

返回

out


PrevUpHomeNext