Imported Upstream version 1.57.0
[platform/upstream/boost.git] / doc / html / boost / proto / complement.html
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>Struct template complement</title>
5 <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7 <link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
8 <link rel="up" href="../../proto/reference.html#header.boost.proto.traits_hpp" title="Header &lt;boost/proto/traits.hpp&gt;">
9 <link rel="prev" href="dereference/impl.html" title="Struct template impl">
10 <link rel="next" href="complement/impl.html" title="Struct template impl">
11 </head>
12 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13 <table cellpadding="2" width="100%"><tr>
14 <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
15 <td align="center"><a href="../../../../index.html">Home</a></td>
16 <td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td>
17 <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18 <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19 <td align="center"><a href="../../../../more/index.htm">More</a></td>
20 </tr></table>
21 <hr>
22 <div class="spirit-nav">
23 <a accesskey="p" href="dereference/impl.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../proto/reference.html#header.boost.proto.traits_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="complement/impl.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
24 </div>
25 <div class="refentry">
26 <a name="boost.proto.complement"></a><div class="titlepage"></div>
27 <div class="refnamediv">
28 <h2><span class="refentrytitle">Struct template complement</span></h2>
29 <p>boost::proto::complement &#8212; A metafunction for generating complement expression types, 
30           a grammar element for matching complement expressions, and 
31           a <a class="link" href="../../PrimitiveTransform.html" title="Concept PrimitiveTransform">PrimitiveTransform</a> that dispatches to the 
32           <code class="computeroutput"><a class="link" href="pass_through.html" title="Struct template pass_through">proto::pass_through&lt;&gt;</a></code>
33           transform.</p>
34 </div>
35 <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
36 <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../proto/reference.html#header.boost.proto.traits_hpp" title="Header &lt;boost/proto/traits.hpp&gt;">boost/proto/traits.hpp</a>&gt;
37
38 </span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> T<span class="special">&gt;</span> 
39 <span class="keyword">struct</span> <a class="link" href="complement.html" title="Struct template complement">complement</a> <span class="special">:</span> <span class="keyword"></span> <a class="link" href="transform.html" title="Struct template transform">proto::transform</a><span class="special">&lt;</span> <span class="identifier">complement</span><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;</span> <span class="special">&gt;</span> <span class="special">{</span>
40   <span class="comment">// types</span>
41   <span class="keyword">typedef</span> <a class="link" href="expr.html" title="Struct template expr">proto::expr</a><span class="special">&lt;</span> <a class="link" href="tag/complement.html" title="Struct complement">proto::tag::complement</a><span class="special">,</span> <a class="link" href="listN.html" title="Struct template listN">proto::list1</a><span class="special">&lt;</span> <span class="identifier">T</span> <span class="special">&gt;</span> <span class="special">&gt;</span>       <a name="boost.proto.complement.type"></a><span class="identifier">type</span><span class="special">;</span>         
42   <span class="keyword">typedef</span> <a class="link" href="basic_expr.html" title="Struct template basic_expr">proto::basic_expr</a><span class="special">&lt;</span> <a class="link" href="tag/complement.html" title="Struct complement">proto::tag::complement</a><span class="special">,</span> <a class="link" href="listN.html" title="Struct template listN">proto::list1</a><span class="special">&lt;</span> <span class="identifier">T</span> <span class="special">&gt;</span> <span class="special">&gt;</span> <a name="boost.proto.complement.proto_grammar"></a><span class="identifier">proto_grammar</span><span class="special">;</span>
43
44   <span class="comment">// member classes/structs/unions</span>
45   <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <a class="link" href="../../Expr.html" title="Concept Expr">Expr</a><span class="special">,</span> <span class="keyword">typename</span> State<span class="special">,</span> <span class="keyword">typename</span> Data<span class="special">&gt;</span> 
46   <span class="keyword">struct</span> <a class="link" href="complement/impl.html" title="Struct template impl">impl</a> <span class="special">:</span>
47     <span class="keyword"></span> <a class="link" href="pass_through.html" title="Struct template pass_through">proto::pass_through</a>&lt;complement&gt;::template impl&lt;Expr, State, Data&gt;
48   <span class="special">{</span>
49   <span class="special">}</span><span class="special">;</span>
50 <span class="special">}</span><span class="special">;</span></pre></div>
51 <div class="refsect1">
52 <a name="idp382685360"></a><h2>Description</h2>
53 </div>
54 </div>
55 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
56 <td align="left"></td>
57 <td align="right"><div class="copyright-footer">Copyright &#169; 2008 Eric Niebler<p>
58         Distributed under the Boost Software License, Version 1.0. (See accompanying
59         file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
60       </p>
61 </div></td>
62 </tr></table>
63 <hr>
64 <div class="spirit-nav">
65 <a accesskey="p" href="dereference/impl.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../proto/reference.html#header.boost.proto.traits_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="complement/impl.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
66 </div>
67 </body>
68 </html>