3 <meta http-equiv=
"Content-Type" content=
"text/html; charset=US-ASCII">
4 <title>Class templates for type classification
</title>
5 <link rel=
"stylesheet" href=
"../../../../../../doc/src/boostbook.css" type=
"text/css">
6 <meta name=
"generator" content=
"DocBook XSL Stylesheets V1.76.1">
7 <link rel=
"home" href=
"../../index.html" title=
"Chapter 1. Boost.FunctionTypes 2.5">
8 <link rel=
"up" href=
"../reference.html" title=
"Reference">
9 <link rel=
"prev" href=
"../reference.html" title=
"Reference">
10 <link rel=
"next" href=
"decomposition.html" title=
"Class templates for type decomposition">
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>
22 <div class=
"spirit-nav">
23 <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>
26 <div class=
"titlepage"><div><div><h3 class=
"title">
27 <a name=
"boost_functiontypes.reference.classification"></a><a class=
"link" href=
"classification.html" title=
"Class templates for type classification">Class templates
28 for type classification
</a>
29 </h3></div></div></div>
31 <dt><span class=
"section"><a href=
"classification.html#boost_functiontypes.reference.classification.is_function">is_function
</a></span></dt>
32 <dt><span class=
"section"><a href=
"classification.html#boost_functiontypes.reference.classification.is_function_pointer">is_function_pointer
</a></span></dt>
33 <dt><span class=
"section"><a href=
"classification.html#boost_functiontypes.reference.classification.is_function_reference">is_function_reference
</a></span></dt>
34 <dt><span class=
"section"><a href=
"classification.html#boost_functiontypes.reference.classification.is_member_pointer">is_member_pointer
</a></span></dt>
35 <dt><span class=
"section"><a href=
"classification.html#boost_functiontypes.reference.classification.is_member_object_pointer">is_member_object_pointer
</a></span></dt>
36 <dt><span class=
"section"><a href=
"classification.html#boost_functiontypes.reference.classification.is_member_function_pointer">is_member_function_pointer
</a></span></dt>
37 <dt><span class=
"section"><a href=
"classification.html#boost_functiontypes.reference.classification.is_callable_builtin">is_callable_builtin
</a></span></dt>
38 <dt><span class=
"section"><a href=
"classification.html#boost_functiontypes.reference.classification.is_nonmember_callable_builtin">is_nonmember_callable_builtin
</a></span></dt>
41 <div class=
"titlepage"><div><div><h4 class=
"title">
42 <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>
43 </h4></div></div></div>
44 <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>
45 <span class=
"keyword">struct
</span> <span class=
"identifier">is_function
</span><span class=
"special">;
</span>
48 <span class=
"bold"><strong>Header
</strong></span>
50 <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>
52 <div class=
"variablelist">
53 <p class=
"title"><b></b></p>
55 <dt><span class=
"term"><code class=
"literal">T
</code></span></dt>
59 <dt><span class=
"term"><code class=
"literal">Tag
</code></span></dt>
61 Further properties required for a positive result
63 <dt><span class=
"term"><code class=
"literal">is_function
<T,Tag
></code></span></dt>
65 Predicate value as
<a href=
"../../../../../mpl/index.html" target=
"_top">MPL
</a>
66 -
<a href=
"../../../../../mpl/doc/refmanual/integral-constant.html" target=
"_top">Integral
69 <dt><span class=
"term"><code class=
"literal">is_function
<T,Tag
>::value
</code></span></dt>
71 Constant boolean value
76 Determines whether a given type is a function, possibly with additional
77 properties as specified by a property tag.
81 <div class=
"titlepage"><div><div><h4 class=
"title">
82 <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>
83 </h4></div></div></div>
84 <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>
85 <span class=
"keyword">struct
</span> <span class=
"identifier">is_function_pointer
</span><span class=
"special">;
</span>
88 <span class=
"bold"><strong>Header
</strong></span>
90 <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>
92 <div class=
"variablelist">
93 <p class=
"title"><b></b></p>
95 <dt><span class=
"term"><code class=
"literal">T
</code></span></dt>
99 <dt><span class=
"term"><code class=
"literal">Tag
</code></span></dt>
101 Further properties required for a positive result
103 <dt><span class=
"term"><code class=
"literal">is_function_pointer
<T,Tag
></code></span></dt>
105 Predicate value
<a href=
"../../../../../mpl/index.html" target=
"_top">MPL
</a>
106 -
<a href=
"../../../../../mpl/doc/refmanual/integral-constant.html" target=
"_top">Integral
109 <dt><span class=
"term"><code class=
"literal">is_function_pointer
<T,Tag
>::value
</code></span></dt>
111 Constant boolean value
116 Determines whether a given type is a function pointer, possibly with additional
117 properties as specified by a property tag.
120 <div class=
"section">
121 <div class=
"titlepage"><div><div><h4 class=
"title">
122 <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>
123 </h4></div></div></div>
124 <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>
125 <span class=
"keyword">struct
</span> <span class=
"identifier">is_function_reference
</span><span class=
"special">;
</span>
128 <span class=
"bold"><strong>Header
</strong></span>
130 <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>
132 <div class=
"variablelist">
133 <p class=
"title"><b></b></p>
135 <dt><span class=
"term"><code class=
"literal">T
</code></span></dt>
139 <dt><span class=
"term"><code class=
"literal">Tag
</code></span></dt>
141 Further properties required for a positive result
143 <dt><span class=
"term"><code class=
"literal">is_function_reference
<T,Tag
></code></span></dt>
145 Predicate value
<a href=
"../../../../../mpl/index.html" target=
"_top">MPL
</a>
146 -
<a href=
"../../../../../mpl/doc/refmanual/integral-constant.html" target=
"_top">Integral
149 <dt><span class=
"term"><code class=
"literal">is_function_reference
<T,Tag
>::value
</code></span></dt>
151 Constant boolean value
156 Determines whether a given type is a function reference, possibly with
157 additional properties as specified by a property tag.
160 <div class=
"section">
161 <div class=
"titlepage"><div><div><h4 class=
"title">
162 <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>
163 </h4></div></div></div>
164 <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>
165 <span class=
"keyword">struct
</span> <span class=
"identifier">is_member_pointer
</span><span class=
"special">;
</span>
168 <span class=
"bold"><strong>Header
</strong></span>
170 <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>
172 <div class=
"variablelist">
173 <p class=
"title"><b></b></p>
175 <dt><span class=
"term"><code class=
"literal">T
</code></span></dt>
179 <dt><span class=
"term"><code class=
"literal">Tag
</code></span></dt>
181 Further properties required for a positive result
183 <dt><span class=
"term"><code class=
"literal">is_member_pointer
<T,Tag
></code></span></dt>
185 Predicate value
<a href=
"../../../../../mpl/index.html" target=
"_top">MPL
</a>
186 -
<a href=
"../../../../../mpl/doc/refmanual/integral-constant.html" target=
"_top">Integral
189 <dt><span class=
"term"><code class=
"literal">is_member_pointer
<T,Tag
>::value
</code></span></dt>
191 Constant boolean value
196 Determines whether a given type is a pointer to member (object or function)
197 type, possibly with additional properties as specified by a property tag.
200 <div class=
"section">
201 <div class=
"titlepage"><div><div><h4 class=
"title">
202 <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>
203 </h4></div></div></div>
204 <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>
205 <span class=
"keyword">struct
</span> <span class=
"identifier">is_member_object_pointer
</span><span class=
"special">;
</span>
208 <span class=
"bold"><strong>Header
</strong></span>
210 <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>
212 <div class=
"variablelist">
213 <p class=
"title"><b></b></p>
215 <dt><span class=
"term"><code class=
"literal">T
</code></span></dt>
219 <dt><span class=
"term"><code class=
"literal">is_member_object_pointer
<T
></code></span></dt>
221 Predicate value
<a href=
"../../../../../mpl/index.html" target=
"_top">MPL
</a>
222 -
<a href=
"../../../../../mpl/doc/refmanual/integral-constant.html" target=
"_top">Integral
225 <dt><span class=
"term"><code class=
"literal">is_member_object_pointer
<T
>::value
</code></span></dt>
227 Constant boolean value
232 Determines whether a given type is a pointer to member object type.
235 <div class=
"section">
236 <div class=
"titlepage"><div><div><h4 class=
"title">
237 <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>
238 </h4></div></div></div>
239 <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>
240 <span class=
"keyword">struct
</span> <span class=
"identifier">is_member_function_pointer
</span><span class=
"special">;
</span>
243 <span class=
"bold"><strong>Header
</strong></span>
245 <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>
247 <div class=
"variablelist">
248 <p class=
"title"><b></b></p>
250 <dt><span class=
"term"><code class=
"literal">T
</code></span></dt>
254 <dt><span class=
"term"><code class=
"literal">Tag
</code></span></dt>
256 Further properties required for a positive result
258 <dt><span class=
"term"><code class=
"literal">is_member_function_pointer
<T,Tag
></code></span></dt>
260 Predicate value
<a href=
"../../../../../mpl/index.html" target=
"_top">MPL
</a>
261 -
<a href=
"../../../../../mpl/doc/refmanual/integral-constant.html" target=
"_top">Integral
264 <dt><span class=
"term"><code class=
"literal">is_member_function_pointer
<T,Tag
>::value
</code></span></dt>
266 Constant boolean value
271 Determines whether a given type is a member function pointer, possibly
272 with additional properties as specified by a property tag.
275 <div class=
"section">
276 <div class=
"titlepage"><div><div><h4 class=
"title">
277 <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>
278 </h4></div></div></div>
279 <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>
280 <span class=
"keyword">struct
</span> <span class=
"identifier">is_callable_builtin
</span><span class=
"special">;
</span>
283 <span class=
"bold"><strong>Header
</strong></span>
285 <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>
287 <div class=
"variablelist">
288 <p class=
"title"><b></b></p>
290 <dt><span class=
"term"><code class=
"literal">T
</code></span></dt>
294 <dt><span class=
"term"><code class=
"literal">Tag
</code></span></dt>
296 Further properties required for a positive result
298 <dt><span class=
"term"><code class=
"literal">is_callable_builtin
<T,Tag
></code></span></dt>
300 Predicate value as
<a href=
"../../../../../mpl/index.html" target=
"_top">MPL
</a>
301 -
<a href=
"../../../../../mpl/doc/refmanual/integral-constant.html" target=
"_top">Integral
304 <dt><span class=
"term"><code class=
"literal">is_callable_builtin
<T,Tag
>::value
</code></span></dt>
306 Constant boolean value
311 Determines whether a given type is a callable builtin, possibly with additional
312 properties as specified by a property tag.
315 <div class=
"section">
316 <div class=
"titlepage"><div><div><h4 class=
"title">
317 <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>
318 </h4></div></div></div>
319 <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>
320 <span class=
"keyword">struct
</span> <span class=
"identifier">is_nonmember_callable_builtin
</span><span class=
"special">;
</span>
323 <span class=
"bold"><strong>Header
</strong></span>
325 <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>
327 <div class=
"variablelist">
328 <p class=
"title"><b></b></p>
330 <dt><span class=
"term"><code class=
"literal">T
</code></span></dt>
334 <dt><span class=
"term"><code class=
"literal">Tag
</code></span></dt>
336 Further properties required for a positive result
338 <dt><span class=
"term"><code class=
"literal">is_nonmember_callable_builtin
<T,Tag
></code></span></dt>
340 Predicate value as
<a href=
"../../../../../mpl/index.html" target=
"_top">MPL
</a>
341 -
<a href=
"../../../../../mpl/doc/refmanual/integral-constant.html" target=
"_top">Integral
344 <dt><span class=
"term"><code class=
"literal">is_nonmember_callable_builtin
<T,Tag
>::value
</code></span></dt>
346 Constant boolean value
351 Determines whether a given type is a callable builtin that is not a member
352 function pointer, possibly with additional properties as specified by a
357 <table xmlns:
rev=
"http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width=
"100%"><tr>
358 <td align=
"left"></td>
359 <td align=
"right"><div class=
"copyright-footer">Copyright
© 2004-
2007 Tobias
361 Distributed under the Boost Software License, Version
1.0. (See accompanying
362 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>)
367 <div class=
"spirit-nav">
368 <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>