1 | <html> |
---|
2 | <head> |
---|
3 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
---|
4 | <title>Function operator!</title> |
---|
5 | <link rel="stylesheet" href="boostbook.css" type="text/css"> |
---|
6 | <meta name="generator" content="DocBook XSL Stylesheets V1.68.1"> |
---|
7 | <link rel="start" href="index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> |
---|
8 | <link rel="up" href="tribool/reference.html#header.boost.logic.tribool.hpp" title="Header <boost/logic/tribool.hpp>"> |
---|
9 | <link rel="prev" href="boost/logic/indeterminate.html" title="Function indeterminate"> |
---|
10 | <link rel="next" href="id695691-bb.html" title="Function operator&&"> |
---|
11 | </head> |
---|
12 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
---|
13 | <table cellpadding="2" width="100%"> |
---|
14 | <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../boost.png"></td> |
---|
15 | <td align="center"><a href="../../index.htm">Home</a></td> |
---|
16 | <td align="center"><a href="../../libs/libraries.htm">Libraries</a></td> |
---|
17 | <td align="center"><a href="../../people/people.htm">People</a></td> |
---|
18 | <td align="center"><a href="../../more/faq.htm">FAQ</a></td> |
---|
19 | <td align="center"><a href="../../more/index.htm">More</a></td> |
---|
20 | </table> |
---|
21 | <hr> |
---|
22 | <div class="spirit-nav"> |
---|
23 | <a accesskey="p" href="boost/logic/indeterminate.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="tribool/reference.html#header.boost.logic.tribool.hpp"><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="id695691-bb.html"><img src="images/next.png" alt="Next"></a> |
---|
24 | </div> |
---|
25 | <div class="refentry" lang="en"> |
---|
26 | <a name="id904872-bb"></a><div class="titlepage"></div> |
---|
27 | <div class="refnamediv"> |
---|
28 | <h2><span class="refentrytitle">Function operator!</span></h2> |
---|
29 | <p>boost::logic::operator! — Computes the logical negation of a tribool. </p> |
---|
30 | </div> |
---|
31 | <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> |
---|
32 | <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"> |
---|
33 | <span class="type"><a href="boost/logic/tribool.html" title="Class tribool">tribool</a></span> <span class="bold"><strong>operator</strong></span>!(<a href="boost/logic/tribool.html" title="Class tribool">tribool</a> x);</pre></div> |
---|
34 | <div class="refsect1" lang="en"> |
---|
35 | <a name="id1836268"></a><h2>Description</h2> |
---|
36 | <p> |
---|
37 | |
---|
38 | </p> |
---|
39 | <div class="variablelist"><table border="0"> |
---|
40 | <col align="left" valign="top"> |
---|
41 | <tbody> |
---|
42 | <tr> |
---|
43 | <td> |
---|
44 | <span class="term">Returns:</span></td> |
---|
45 | <td> |
---|
46 | <p>the logical negation of the tribool, according to the table: </p> |
---|
47 | <div class="informaltable"><table class="table"> |
---|
48 | <colgroup> |
---|
49 | <col> |
---|
50 | <col> |
---|
51 | </colgroup> |
---|
52 | <tbody> |
---|
53 | <tr> |
---|
54 | <td align="center" valign="middle"><span class="bold"><strong><code class="computeroutput">!</code> </strong></span></td> |
---|
55 | <td class="auto-generated"> </td> |
---|
56 | </tr> |
---|
57 | <tr> |
---|
58 | <td align="center" valign="middle"><span class="bold"><strong>false</strong></span></td> |
---|
59 | <td align="center" valign="middle">true</td> |
---|
60 | </tr> |
---|
61 | <tr> |
---|
62 | <td align="center" valign="middle"><span class="bold"><strong>true</strong></span></td> |
---|
63 | <td align="center" valign="middle">false</td> |
---|
64 | </tr> |
---|
65 | <tr> |
---|
66 | <td align="center" valign="middle"><span class="bold"><strong>indeterminate</strong></span></td> |
---|
67 | <td align="center" valign="middle">indeterminate</td> |
---|
68 | </tr> |
---|
69 | </tbody> |
---|
70 | </table></div> |
---|
71 | <p> |
---|
72 | </p> |
---|
73 | </td> |
---|
74 | </tr> |
---|
75 | <tr> |
---|
76 | <td> |
---|
77 | <span class="term">Throws:</span></td> |
---|
78 | <td>Will not throw.</td> |
---|
79 | </tr> |
---|
80 | </tbody> |
---|
81 | </table></div> |
---|
82 | </div> |
---|
83 | </div> |
---|
84 | <table width="100%"><tr> |
---|
85 | <td align="left"></td> |
---|
86 | <td align="right"><small>Copyright © 2002-2004 Douglas Gregor</small></td> |
---|
87 | </tr></table> |
---|
88 | <hr> |
---|
89 | <div class="spirit-nav"> |
---|
90 | <a accesskey="p" href="boost/logic/indeterminate.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="tribool/reference.html#header.boost.logic.tribool.hpp"><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="id695691-bb.html"><img src="images/next.png" alt="Next"></a> |
---|
91 | </div> |
---|
92 | </body> |
---|
93 | </html> |
---|