summaryrefslogtreecommitdiff
path: root/doc/html/id1245151.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/id1245151.html')
-rw-r--r--doc/html/id1245151.html57
1 files changed, 57 insertions, 0 deletions
diff --git a/doc/html/id1245151.html b/doc/html/id1245151.html
new file mode 100644
index 0000000000..a85926d647
--- /dev/null
+++ b/doc/html/id1245151.html
@@ -0,0 +1,57 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Function template operator&lt;&lt;</title>
+<link rel="stylesheet" href="boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
+<link rel="start" href="index.html" title="The Boost C++ Libraries">
+<link rel="up" href="tribool/reference.html#id1277344" title="Header &lt;boost/logic/tribool_io.hpp&gt;">
+<link rel="prev" href="id1244293.html" title="Function template get_default_indeterminate_name">
+<link rel="next" href="id1286986.html" title="Function template operator&lt;&lt;">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%">
+<td valign="top"><img alt="boost.png (6897 bytes)" width="277" height="86" src="../../boost.png"></td>
+<td align="center"><a href="../../index.htm">Home</a></td>
+<td align="center"><a href="../../libs/libraries.htm">Libraries</a></td>
+<td align="center"><a href="../../people/people.htm">People</a></td>
+<td align="center"><a href="../../more/faq.htm">FAQ</a></td>
+<td align="center"><a href="../../more/index.htm">More</a></td>
+</table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="id1244293.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="tribool/reference.html#id1277344"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="id1286986.html"><img src="images/next.png" alt="Next"></a>
+</div>
+<div class="refentry" lang="en">
+<a name="id1245151"></a><div class="titlepage"></div>
+<div class="refnamediv">
+<h2><span class="refentrytitle">Function template operator&lt;&lt;</span></h2>
+<p>boost::logic::operator&lt;&lt; &#8212; Writes the value of a tribool to a stream. </p>
+</div>
+<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
+<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis">
+<span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> CharT, <span class="bold"><strong>typename</strong></span> Traits&gt;
+  <span class="type">std::basic_ostream&lt; CharT, Traits &gt; &amp;</span>
+  <span class="bold"><strong>operator</strong></span>&lt;&lt;(std::basic_ostream&lt; CharT, Traits &gt; &amp; out, <a href="boost/logic/tribool.html" title="Class tribool">tribool</a> x);</pre></div>
+<div class="refsect1" lang="en">
+<a name="id1571944"></a><h2>Description</h2>
+<p>When the value of <code class="computeroutput">x</code> is either <code class="computeroutput">true</code> or <code class="computeroutput">false</code> , this routine is semantically equivalent to: </p>
+<pre class="programlisting"> out &lt;&lt; static_cast&lt;bool&gt;(x);
+</pre>
+<p>When <code class="computeroutput">x</code> has an indeterminate value, it outputs either the integer value 2 (if <code class="computeroutput">(out.flags() &amp; std::ios_base::boolalpha) == 0</code> ) or the name of the indeterminate value. The name of the indeterminate value comes from the indeterminate_name facet (if it is defined in the output stream's locale), or from the get_default_indeterminate_name function (if it is not defined in the locale or if the C++ standard library implementation does not support locales).</p>
+<p></p>
+<p><b xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"><span class="term">Returns</span></b>:
+
+ <code class="computeroutput">out</code></p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><small>Copyright © 2002-2004 Douglas Gregor</small></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="id1244293.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="tribool/reference.html#id1277344"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="id1286986.html"><img src="images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>