123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371 |
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
- <title>Class templates for type classification</title>
- <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
- <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
- <link rel="home" href="../../index.html" title="Chapter 1. Boost.FunctionTypes 2.5">
- <link rel="up" href="../reference.html" title="Reference">
- <link rel="prev" href="../reference.html" title="Reference">
- <link rel="next" href="decomposition.html" title="Class templates for type decomposition">
- </head>
- <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
- <table cellpadding="2" width="100%"><tr>
- <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
- <td align="center"><a href="../../../../../../index.html">Home</a></td>
- <td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
- <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
- <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
- <td align="center"><a href="../../../../../../more/index.htm">More</a></td>
- </tr></table>
- <hr>
- <div class="spirit-nav">
- <a accesskey="p" href="../reference.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><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="decomposition.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
- </div>
- <div class="section">
- <div class="titlepage"><div><div><h3 class="title">
- <a name="boost_functiontypes.reference.classification"></a><a class="link" href="classification.html" title="Class templates for type classification">Class templates
- for type classification</a>
- </h3></div></div></div>
- <div class="toc"><dl class="toc">
- <dt><span class="section"><a href="classification.html#boost_functiontypes.reference.classification.is_function">is_function</a></span></dt>
- <dt><span class="section"><a href="classification.html#boost_functiontypes.reference.classification.is_function_pointer">is_function_pointer</a></span></dt>
- <dt><span class="section"><a href="classification.html#boost_functiontypes.reference.classification.is_function_reference">is_function_reference</a></span></dt>
- <dt><span class="section"><a href="classification.html#boost_functiontypes.reference.classification.is_member_pointer">is_member_pointer</a></span></dt>
- <dt><span class="section"><a href="classification.html#boost_functiontypes.reference.classification.is_member_object_pointer">is_member_object_pointer</a></span></dt>
- <dt><span class="section"><a href="classification.html#boost_functiontypes.reference.classification.is_member_function_pointer">is_member_function_pointer</a></span></dt>
- <dt><span class="section"><a href="classification.html#boost_functiontypes.reference.classification.is_callable_builtin">is_callable_builtin</a></span></dt>
- <dt><span class="section"><a href="classification.html#boost_functiontypes.reference.classification.is_nonmember_callable_builtin">is_nonmember_callable_builtin</a></span></dt>
- </dl></div>
- <div class="section">
- <div class="titlepage"><div><div><h4 class="title">
- <a name="boost_functiontypes.reference.classification.is_function"></a><a class="link" href="classification.html#boost_functiontypes.reference.classification.is_function" title="is_function">is_function</a>
- </h4></div></div></div>
- <pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span> <span class="special">=</span> <a class="link" href="tag_types.html#boost_functiontypes.reference.tag_types.null_tag" title="null_tag">null_tag</a><span class="special">></span>
- <span class="keyword">struct</span> <span class="identifier">is_function</span><span class="special">;</span>
- </pre>
- <p>
- <span class="bold"><strong>Header</strong></span>
- </p>
- <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">function_types</span><span class="special">/</span><span class="identifier">is_function</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
- </pre>
- <div class="variablelist">
- <p class="title"><b></b></p>
- <dl class="variablelist">
- <dt><span class="term"><code class="literal">T</code></span></dt>
- <dd><p>
- Type to analyze
- </p></dd>
- <dt><span class="term"><code class="literal">Tag</code></span></dt>
- <dd><p>
- Further properties required for a positive result
- </p></dd>
- <dt><span class="term"><code class="literal">is_function<T,Tag></code></span></dt>
- <dd><p>
- Predicate value as <a href="../../../../../mpl/index.html" target="_top">MPL</a>
- - <a href="../../../../../mpl/doc/refmanual/integral-constant.html" target="_top">Integral
- Constant</a>
- </p></dd>
- <dt><span class="term"><code class="literal">is_function<T,Tag>::value</code></span></dt>
- <dd><p>
- Constant boolean value
- </p></dd>
- </dl>
- </div>
- <p>
- Determines whether a given type is a function, possibly with additional
- properties as specified by a property tag.
- </p>
- </div>
- <div class="section">
- <div class="titlepage"><div><div><h4 class="title">
- <a name="boost_functiontypes.reference.classification.is_function_pointer"></a><a class="link" href="classification.html#boost_functiontypes.reference.classification.is_function_pointer" title="is_function_pointer">is_function_pointer</a>
- </h4></div></div></div>
- <pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span> <span class="special">=</span> <a class="link" href="tag_types.html#boost_functiontypes.reference.tag_types.null_tag" title="null_tag">null_tag</a><span class="special">></span>
- <span class="keyword">struct</span> <span class="identifier">is_function_pointer</span><span class="special">;</span>
- </pre>
- <p>
- <span class="bold"><strong>Header</strong></span>
- </p>
- <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">function_types</span><span class="special">/</span><span class="identifier">is_function_pointer</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
- </pre>
- <div class="variablelist">
- <p class="title"><b></b></p>
- <dl class="variablelist">
- <dt><span class="term"><code class="literal">T</code></span></dt>
- <dd><p>
- Type to analyze
- </p></dd>
- <dt><span class="term"><code class="literal">Tag</code></span></dt>
- <dd><p>
- Further properties required for a positive result
- </p></dd>
- <dt><span class="term"><code class="literal">is_function_pointer<T,Tag></code></span></dt>
- <dd><p>
- Predicate value <a href="../../../../../mpl/index.html" target="_top">MPL</a>
- - <a href="../../../../../mpl/doc/refmanual/integral-constant.html" target="_top">Integral
- Constant</a>
- </p></dd>
- <dt><span class="term"><code class="literal">is_function_pointer<T,Tag>::value</code></span></dt>
- <dd><p>
- Constant boolean value
- </p></dd>
- </dl>
- </div>
- <p>
- Determines whether a given type is a function pointer, possibly with additional
- properties as specified by a property tag.
- </p>
- </div>
- <div class="section">
- <div class="titlepage"><div><div><h4 class="title">
- <a name="boost_functiontypes.reference.classification.is_function_reference"></a><a class="link" href="classification.html#boost_functiontypes.reference.classification.is_function_reference" title="is_function_reference">is_function_reference</a>
- </h4></div></div></div>
- <pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span> <span class="special">=</span> <a class="link" href="tag_types.html#boost_functiontypes.reference.tag_types.null_tag" title="null_tag">null_tag</a><span class="special">></span>
- <span class="keyword">struct</span> <span class="identifier">is_function_reference</span><span class="special">;</span>
- </pre>
- <p>
- <span class="bold"><strong>Header</strong></span>
- </p>
- <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">function_types</span><span class="special">/</span><span class="identifier">is_function_reference</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
- </pre>
- <div class="variablelist">
- <p class="title"><b></b></p>
- <dl class="variablelist">
- <dt><span class="term"><code class="literal">T</code></span></dt>
- <dd><p>
- Type to analyze
- </p></dd>
- <dt><span class="term"><code class="literal">Tag</code></span></dt>
- <dd><p>
- Further properties required for a positive result
- </p></dd>
- <dt><span class="term"><code class="literal">is_function_reference<T,Tag></code></span></dt>
- <dd><p>
- Predicate value <a href="../../../../../mpl/index.html" target="_top">MPL</a>
- - <a href="../../../../../mpl/doc/refmanual/integral-constant.html" target="_top">Integral
- Constant</a>
- </p></dd>
- <dt><span class="term"><code class="literal">is_function_reference<T,Tag>::value</code></span></dt>
- <dd><p>
- Constant boolean value
- </p></dd>
- </dl>
- </div>
- <p>
- Determines whether a given type is a function reference, possibly with
- additional properties as specified by a property tag.
- </p>
- </div>
- <div class="section">
- <div class="titlepage"><div><div><h4 class="title">
- <a name="boost_functiontypes.reference.classification.is_member_pointer"></a><a class="link" href="classification.html#boost_functiontypes.reference.classification.is_member_pointer" title="is_member_pointer">is_member_pointer</a>
- </h4></div></div></div>
- <pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span> <span class="special">=</span> <a class="link" href="tag_types.html#boost_functiontypes.reference.tag_types.null_tag" title="null_tag">null_tag</a><span class="special">></span>
- <span class="keyword">struct</span> <span class="identifier">is_member_pointer</span><span class="special">;</span>
- </pre>
- <p>
- <span class="bold"><strong>Header</strong></span>
- </p>
- <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">function_types</span><span class="special">/</span><span class="identifier">is_member_pointer</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
- </pre>
- <div class="variablelist">
- <p class="title"><b></b></p>
- <dl class="variablelist">
- <dt><span class="term"><code class="literal">T</code></span></dt>
- <dd><p>
- Type to analyze
- </p></dd>
- <dt><span class="term"><code class="literal">Tag</code></span></dt>
- <dd><p>
- Further properties required for a positive result
- </p></dd>
- <dt><span class="term"><code class="literal">is_member_pointer<T,Tag></code></span></dt>
- <dd><p>
- Predicate value <a href="../../../../../mpl/index.html" target="_top">MPL</a>
- - <a href="../../../../../mpl/doc/refmanual/integral-constant.html" target="_top">Integral
- Constant</a>
- </p></dd>
- <dt><span class="term"><code class="literal">is_member_pointer<T,Tag>::value</code></span></dt>
- <dd><p>
- Constant boolean value
- </p></dd>
- </dl>
- </div>
- <p>
- Determines whether a given type is a pointer to member (object or function)
- type, possibly with additional properties as specified by a property tag.
- </p>
- </div>
- <div class="section">
- <div class="titlepage"><div><div><h4 class="title">
- <a name="boost_functiontypes.reference.classification.is_member_object_pointer"></a><a class="link" href="classification.html#boost_functiontypes.reference.classification.is_member_object_pointer" title="is_member_object_pointer">is_member_object_pointer</a>
- </h4></div></div></div>
- <pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
- <span class="keyword">struct</span> <span class="identifier">is_member_object_pointer</span><span class="special">;</span>
- </pre>
- <p>
- <span class="bold"><strong>Header</strong></span>
- </p>
- <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">function_types</span><span class="special">/</span><span class="identifier">is_member_object_pointer</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
- </pre>
- <div class="variablelist">
- <p class="title"><b></b></p>
- <dl class="variablelist">
- <dt><span class="term"><code class="literal">T</code></span></dt>
- <dd><p>
- Type to analyze
- </p></dd>
- <dt><span class="term"><code class="literal">is_member_object_pointer<T></code></span></dt>
- <dd><p>
- Predicate value <a href="../../../../../mpl/index.html" target="_top">MPL</a>
- - <a href="../../../../../mpl/doc/refmanual/integral-constant.html" target="_top">Integral
- Constant</a>
- </p></dd>
- <dt><span class="term"><code class="literal">is_member_object_pointer<T>::value</code></span></dt>
- <dd><p>
- Constant boolean value
- </p></dd>
- </dl>
- </div>
- <p>
- Determines whether a given type is a pointer to member object type.
- </p>
- </div>
- <div class="section">
- <div class="titlepage"><div><div><h4 class="title">
- <a name="boost_functiontypes.reference.classification.is_member_function_pointer"></a><a class="link" href="classification.html#boost_functiontypes.reference.classification.is_member_function_pointer" title="is_member_function_pointer">is_member_function_pointer</a>
- </h4></div></div></div>
- <pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span> <span class="special">=</span> <a class="link" href="tag_types.html#boost_functiontypes.reference.tag_types.null_tag" title="null_tag">null_tag</a><span class="special">></span>
- <span class="keyword">struct</span> <span class="identifier">is_member_function_pointer</span><span class="special">;</span>
- </pre>
- <p>
- <span class="bold"><strong>Header</strong></span>
- </p>
- <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">function_types</span><span class="special">/</span><span class="identifier">is_member_function_pointer</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
- </pre>
- <div class="variablelist">
- <p class="title"><b></b></p>
- <dl class="variablelist">
- <dt><span class="term"><code class="literal">T</code></span></dt>
- <dd><p>
- Type to analyze
- </p></dd>
- <dt><span class="term"><code class="literal">Tag</code></span></dt>
- <dd><p>
- Further properties required for a positive result
- </p></dd>
- <dt><span class="term"><code class="literal">is_member_function_pointer<T,Tag></code></span></dt>
- <dd><p>
- Predicate value <a href="../../../../../mpl/index.html" target="_top">MPL</a>
- - <a href="../../../../../mpl/doc/refmanual/integral-constant.html" target="_top">Integral
- Constant</a>
- </p></dd>
- <dt><span class="term"><code class="literal">is_member_function_pointer<T,Tag>::value</code></span></dt>
- <dd><p>
- Constant boolean value
- </p></dd>
- </dl>
- </div>
- <p>
- Determines whether a given type is a member function pointer, possibly
- with additional properties as specified by a property tag.
- </p>
- </div>
- <div class="section">
- <div class="titlepage"><div><div><h4 class="title">
- <a name="boost_functiontypes.reference.classification.is_callable_builtin"></a><a class="link" href="classification.html#boost_functiontypes.reference.classification.is_callable_builtin" title="is_callable_builtin">is_callable_builtin</a>
- </h4></div></div></div>
- <pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span> <span class="special">=</span> <a class="link" href="tag_types.html#boost_functiontypes.reference.tag_types.null_tag" title="null_tag">null_tag</a><span class="special">></span>
- <span class="keyword">struct</span> <span class="identifier">is_callable_builtin</span><span class="special">;</span>
- </pre>
- <p>
- <span class="bold"><strong>Header</strong></span>
- </p>
- <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">function_types</span><span class="special">/</span><span class="identifier">is_callable_builtin</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
- </pre>
- <div class="variablelist">
- <p class="title"><b></b></p>
- <dl class="variablelist">
- <dt><span class="term"><code class="literal">T</code></span></dt>
- <dd><p>
- Type to analyze
- </p></dd>
- <dt><span class="term"><code class="literal">Tag</code></span></dt>
- <dd><p>
- Further properties required for a positive result
- </p></dd>
- <dt><span class="term"><code class="literal">is_callable_builtin<T,Tag></code></span></dt>
- <dd><p>
- Predicate value as <a href="../../../../../mpl/index.html" target="_top">MPL</a>
- - <a href="../../../../../mpl/doc/refmanual/integral-constant.html" target="_top">Integral
- Constant</a>
- </p></dd>
- <dt><span class="term"><code class="literal">is_callable_builtin<T,Tag>::value</code></span></dt>
- <dd><p>
- Constant boolean value
- </p></dd>
- </dl>
- </div>
- <p>
- Determines whether a given type is a callable builtin, possibly with additional
- properties as specified by a property tag.
- </p>
- </div>
- <div class="section">
- <div class="titlepage"><div><div><h4 class="title">
- <a name="boost_functiontypes.reference.classification.is_nonmember_callable_builtin"></a><a class="link" href="classification.html#boost_functiontypes.reference.classification.is_nonmember_callable_builtin" title="is_nonmember_callable_builtin">is_nonmember_callable_builtin</a>
- </h4></div></div></div>
- <pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span> <span class="special">=</span> <a class="link" href="tag_types.html#boost_functiontypes.reference.tag_types.null_tag" title="null_tag">null_tag</a><span class="special">></span>
- <span class="keyword">struct</span> <span class="identifier">is_nonmember_callable_builtin</span><span class="special">;</span>
- </pre>
- <p>
- <span class="bold"><strong>Header</strong></span>
- </p>
- <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">function_types</span><span class="special">/</span><span class="identifier">is_nonmember_callable_builtin</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
- </pre>
- <div class="variablelist">
- <p class="title"><b></b></p>
- <dl class="variablelist">
- <dt><span class="term"><code class="literal">T</code></span></dt>
- <dd><p>
- Type to analyze
- </p></dd>
- <dt><span class="term"><code class="literal">Tag</code></span></dt>
- <dd><p>
- Further properties required for a positive result
- </p></dd>
- <dt><span class="term"><code class="literal">is_nonmember_callable_builtin<T,Tag></code></span></dt>
- <dd><p>
- Predicate value as <a href="../../../../../mpl/index.html" target="_top">MPL</a>
- - <a href="../../../../../mpl/doc/refmanual/integral-constant.html" target="_top">Integral
- Constant</a>
- </p></dd>
- <dt><span class="term"><code class="literal">is_nonmember_callable_builtin<T,Tag>::value</code></span></dt>
- <dd><p>
- Constant boolean value
- </p></dd>
- </dl>
- </div>
- <p>
- Determines whether a given type is a callable builtin that is not a member
- function pointer, possibly with additional properties as specified by a
- property tag.
- </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"><div class="copyright-footer">Copyright © 2004-2007 Tobias
- Schwinger<p>
- Distributed under the Boost Software License, Version 1.0. (See accompanying
- 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>)
- </p>
- </div></td>
- </tr></table>
- <hr>
- <div class="spirit-nav">
- <a accesskey="p" href="../reference.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><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="decomposition.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
- </div>
- </body>
- </html>
|