• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>Struct multi_index&lt;static_cast&lt; std::size_t &gt;(-1)&gt;</title>
5<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="../../index.html" title="Chapter 1. Boost.Histogram">
8<link rel="up" href="../../histogram/reference.html#header.boost.histogram.multi_index_hpp" title="Header &lt;boost/histogram/multi_index.hpp&gt;">
9<link rel="prev" href="multi_index.html" title="Struct template multi_index">
10<link rel="next" href="sample.html" title="Function template sample">
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="../../../../../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="multi_index.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../histogram/reference.html#header.boost.histogram.multi_index_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="sample.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
24</div>
25<div class="refentry">
26<a name="boost.histogram.multi_in_idm45503931560304"></a><div class="titlepage"></div>
27<div class="refnamediv">
28<h2><span class="refentrytitle">Struct multi_index&lt;static_cast&lt; std::size_t &gt;(-1)&gt;</span></h2>
29<p>boost::histogram::multi_index&lt;static_cast&lt; std::size_t &gt;(-1)&gt;</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"><span class="comment">// In header: &lt;<a class="link" href="../../histogram/reference.html#header.boost.histogram.multi_index_hpp" title="Header &lt;boost/histogram/multi_index.hpp&gt;">boost/histogram/multi_index.hpp</a>&gt;
33
34</span>
35<span class="keyword">struct</span> <a class="link" href="multi_in_idm45503931560304.html" title="Struct multi_index&lt;static_cast&lt; std::size_t &gt;(-1)&gt;">multi_index</a><span class="special">&lt;</span><span class="keyword">static_cast</span><span class="special">&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="special">&gt;</span><span class="special">(</span><span class="special">-</span><span class="number">1</span><span class="special">)</span><span class="special">&gt;</span> <span class="special">{</span>
36  <span class="comment">// types</span>
37  <span class="keyword">typedef</span> <span class="identifier">axis</span><span class="special">::</span><span class="identifier">index_type</span>   <a name="boost.histogram.multi_in_idm45503931560304.value_type"></a><span class="identifier">value_type</span><span class="special">;</span>
38  <span class="keyword">typedef</span> <span class="identifier">value_type</span> <span class="special">*</span>       <a name="boost.histogram.multi_in_idm45503931560304.iterator"></a><span class="identifier">iterator</span><span class="special">;</span>
39  <span class="keyword">typedef</span> <span class="keyword">const</span> <span class="identifier">value_type</span> <span class="special">*</span> <a name="boost.histogram.multi_in_idm45503931560304.const_iterator"></a><span class="identifier">const_iterator</span><span class="special">;</span>
40
41  <span class="comment">// <a class="link" href="multi_in_idm45503931560304.html#boost.histogram.multi_in_idm45503931560304construct-copy-destruct">construct/copy/destruct</a></span>
42  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span><span class="special">...</span> Is<span class="special">&gt;</span> <a class="link" href="multi_in_idm45503931560304.html#idm45503931549424-bb"><span class="identifier">multi_index</span></a><span class="special">(</span><span class="identifier">axis</span><span class="special">::</span><span class="identifier">index_type</span><span class="special">,</span> <span class="identifier">Is</span><span class="special">...</span><span class="special">)</span><span class="special">;</span>
43  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span><span class="special">...</span> Is<span class="special">&gt;</span>
44    <a class="link" href="multi_in_idm45503931560304.html#idm45503931546944-bb"><span class="identifier">multi_index</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">tuple</span><span class="special">&lt;</span> <span class="identifier">axis</span><span class="special">::</span><span class="identifier">index_type</span><span class="special">,</span> <span class="identifier">Is</span><span class="special">...</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
45  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Iterable<span class="special">&gt;</span> <a class="link" href="multi_in_idm45503931560304.html#idm45503931545120-bb"><span class="identifier">multi_index</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Iterable</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
46  <a class="link" href="multi_in_idm45503931560304.html#idm45503931543616-bb"><span class="identifier">multi_index</span></a><span class="special">(</span><span class="identifier">priv_tag</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">)</span><span class="special">;</span>
47  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">...</span> Ns<span class="special">&gt;</span>
48    <a class="link" href="multi_in_idm45503931560304.html#idm45503931542112-bb"><span class="identifier">multi_index</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">mp11</span><span class="special">::</span><span class="identifier">index_sequence</span><span class="special">&lt;</span> <span class="identifier">Ns</span><span class="special">...</span> <span class="special">&gt;</span><span class="special">)</span><span class="special">;</span>
49
50  <span class="comment">// <a class="link" href="multi_in_idm45503931560304.html#idm45503931557120-bb">public static functions</a></span>
51  <span class="keyword">static</span> <a class="link" href="multi_index.html" title="Struct template multi_index">multi_index</a> <a class="link" href="multi_in_idm45503931560304.html#idm45503931556560-bb"><span class="identifier">create</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">)</span><span class="special">;</span>
52
53  <span class="comment">// <a class="link" href="multi_in_idm45503931560304.html#idm45503931554784-bb">public member functions</a></span>
54  <span class="identifier">iterator</span> <a class="link" href="multi_in_idm45503931560304.html#idm45503931554224-bb"><span class="identifier">begin</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
55  <span class="identifier">iterator</span> <a class="link" href="multi_in_idm45503931560304.html#idm45503931553264-bb"><span class="identifier">end</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
56  <span class="identifier">const_iterator</span> <a class="link" href="multi_in_idm45503931560304.html#idm45503931552304-bb"><span class="identifier">begin</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
57  <span class="identifier">const_iterator</span> <a class="link" href="multi_in_idm45503931560304.html#idm45503931551344-bb"><span class="identifier">end</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
58  <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a class="link" href="multi_in_idm45503931560304.html#idm45503931550384-bb"><span class="identifier">size</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
59<span class="special">}</span><span class="special">;</span></pre></div>
60<div class="refsect1">
61<a name="idm45113198114256"></a><h2>Description</h2>
62<div class="refsect2">
63<a name="idm45113198113840"></a><h3>
64<a name="boost.histogram.multi_in_idm45503931560304construct-copy-destruct"></a><code class="computeroutput">multi_index</code>
65        public
66       construct/copy/destruct</h3>
67<div class="orderedlist"><ol class="orderedlist" type="1">
68<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span><span class="special">...</span> Is<span class="special">&gt;</span> <a name="idm45503931549424-bb"></a><span class="identifier">multi_index</span><span class="special">(</span><span class="identifier">axis</span><span class="special">::</span><span class="identifier">index_type</span> i<span class="special">,</span> <span class="identifier">Is</span><span class="special">...</span> is<span class="special">)</span><span class="special">;</span></pre></li>
69<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span><span class="special">...</span> Is<span class="special">&gt;</span>
70  <a name="idm45503931546944-bb"></a><span class="identifier">multi_index</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">tuple</span><span class="special">&lt;</span> <span class="identifier">axis</span><span class="special">::</span><span class="identifier">index_type</span><span class="special">,</span> <span class="identifier">Is</span><span class="special">...</span> <span class="special">&gt;</span> <span class="special">&amp;</span> is<span class="special">)</span><span class="special">;</span></pre></li>
71<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Iterable<span class="special">&gt;</span> <a name="idm45503931545120-bb"></a><span class="identifier">multi_index</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Iterable</span> <span class="special">&amp;</span> is<span class="special">)</span><span class="special">;</span></pre></li>
72<li class="listitem"><pre class="literallayout"><a name="idm45503931543616-bb"></a><span class="identifier">multi_index</span><span class="special">(</span><span class="identifier">priv_tag</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> s<span class="special">)</span><span class="special">;</span></pre></li>
73<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">...</span> Ns<span class="special">&gt;</span>
74  <a name="idm45503931542112-bb"></a><span class="identifier">multi_index</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span> <span class="special">&amp;</span> is<span class="special">,</span> <span class="identifier">mp11</span><span class="special">::</span><span class="identifier">index_sequence</span><span class="special">&lt;</span> <span class="identifier">Ns</span><span class="special">...</span> <span class="special">&gt;</span><span class="special">)</span><span class="special">;</span></pre></li>
75</ol></div>
76</div>
77<div class="refsect2">
78<a name="idm45113198056272"></a><h3>
79<a name="idm45503931557120-bb"></a><code class="computeroutput">multi_index</code> public static functions</h3>
80<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <a class="link" href="multi_index.html" title="Struct template multi_index">multi_index</a> <a name="idm45503931556560-bb"></a><span class="identifier">create</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> s<span class="special">)</span><span class="special">;</span></pre></li></ol></div>
81</div>
82<div class="refsect2">
83<a name="idm45113198047232"></a><h3>
84<a name="idm45503931554784-bb"></a><code class="computeroutput">multi_index</code> public member functions</h3>
85<div class="orderedlist"><ol class="orderedlist" type="1">
86<li class="listitem"><pre class="literallayout"><span class="identifier">iterator</span> <a name="idm45503931554224-bb"></a><span class="identifier">begin</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
87<li class="listitem"><pre class="literallayout"><span class="identifier">iterator</span> <a name="idm45503931553264-bb"></a><span class="identifier">end</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
88<li class="listitem"><pre class="literallayout"><span class="identifier">const_iterator</span> <a name="idm45503931552304-bb"></a><span class="identifier">begin</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
89<li class="listitem"><pre class="literallayout"><span class="identifier">const_iterator</span> <a name="idm45503931551344-bb"></a><span class="identifier">end</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
90<li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a name="idm45503931550384-bb"></a><span class="identifier">size</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
91</ol></div>
92</div>
93</div>
94</div>
95<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
96<td align="left"></td>
97<td align="right"><div class="copyright-footer">Copyright © 2016-2019 Hans
98      Dembinski<p>
99        Distributed under the Boost Software License, Version 1.0. (See accompanying
100        file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
101      </p>
102</div></td>
103</tr></table>
104<hr>
105<div class="spirit-nav">
106<a accesskey="p" href="multi_index.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../histogram/reference.html#header.boost.histogram.multi_index_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="sample.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
107</div>
108</body>
109</html>
110