• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5<title>Class template is_recursive_wrapper</title>
6<link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css">
7<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
8<link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
9<link rel="up" href="../variant/reference.html#header.boost.variant.recursive_wrapper_hpp" title="Header &lt;boost/variant/recursive_wrapper.hpp&gt;">
10<link rel="prev" href="recursive_wrapper.html" title="Class template recursive_wrapper">
11<link rel="next" href="unwrap_recursive_wrapper.html" title="Class template unwrap_recursive_wrapper">
12</head>
13<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
14<table cellpadding="2" width="100%"><tr>
15<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
16<td align="center"><a href="../../../index.html">Home</a></td>
17<td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td>
18<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
19<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
20<td align="center"><a href="../../../more/index.htm">More</a></td>
21</tr></table>
22<hr>
23<div class="spirit-nav">
24<a accesskey="p" href="recursive_wrapper.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../variant/reference.html#header.boost.variant.recursive_wrapper_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="unwrap_recursive_wrapper.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
25</div>
26<div class="refentry">
27<a name="boost.is_recursive_wrapper"></a><div class="titlepage"></div>
28<div class="refnamediv">
29<h2><span class="refentrytitle">Class template is_recursive_wrapper</span></h2>
30<p>boost::is_recursive_wrapper — Determines whether the specified type is a specialization of
31          <code class="computeroutput">recursive_wrapper</code>.</p>
32</div>
33<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
34<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="../variant/reference.html#header.boost.variant.recursive_wrapper_hpp" title="Header &lt;boost/variant/recursive_wrapper.hpp&gt;">boost/variant/recursive_wrapper.hpp</a>&gt;
35
36</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> T<span class="special">&gt;</span>
37<span class="keyword">class</span> <a class="link" href="is_recursive_wrapper.html" title="Class template is_recursive_wrapper">is_recursive_wrapper</a> <span class="special">{</span>
38<span class="keyword">public</span><span class="special">:</span>
39  <span class="comment">// types</span>
40  <span class="keyword">typedef</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a name="boost.is_recursive_wrapper.type"></a><span class="identifier">type</span><span class="special">;</span>
41
42  <span class="comment">// static constants</span>
43  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keyword">bool</span> <span class="identifier">value</span> = <span class="identifier">unspecified</span><span class="special">;</span>
44<span class="special">}</span><span class="special">;</span></pre></div>
45<div class="refsect1">
46<a name="id-1.3.46.5.7.4.4"></a><h2>Description</h2>
47<p>Value is true iff <code class="computeroutput">T</code> is a specialization of
48          <code class="computeroutput"><a class="link" href="recursive_wrapper.html" title="Class template recursive_wrapper">recursive_wrapper</a></code>.</p>
49<p><span class="bold"><strong>Note</strong></span>:
50          <code class="computeroutput">is_recursive_wrapper</code> is a model of
51          MPL's
52          <span class="emphasis"><em>IntegralConstant</em></span> concept.</p>
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 © 2002, 2003 Eric Friedman, Itay Maman<br>Copyright © 2014-2020 Antony Polukhin<p>Distributed under the Boost Software License, Version 1.0.
58    (See accompanying file <code class="filename">LICENSE_1_0.txt</code> or copy at
59    <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="recursive_wrapper.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../variant/reference.html#header.boost.variant.recursive_wrapper_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="unwrap_recursive_wrapper.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
66</div>
67</body>
68</html>
69