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>Struct count_impl</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="../../../accumulators/reference.html#header.boost.accumulators.statistics.count_hpp" title="Header <boost/accumulators/statistics/count.hpp>"> 10<link rel="prev" href="../extract/count.html" title="Global count"> 11<link rel="next" href="../tag/count.html" title="Struct count"> 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="../extract/count.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../accumulators/reference.html#header.boost.accumulators.statistics.count_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="../tag/count.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> 25</div> 26<div class="refentry"> 27<a name="boost.accumulators.impl.count_impl"></a><div class="titlepage"></div> 28<div class="refnamediv"> 29<h2><span class="refentrytitle">Struct count_impl</span></h2> 30<p>boost::accumulators::impl::count_impl</p> 31</div> 32<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> 33<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../../accumulators/reference.html#header.boost.accumulators.statistics.count_hpp" title="Header <boost/accumulators/statistics/count.hpp>">boost/accumulators/statistics/count.hpp</a>> 34 35</span> 36<span class="keyword">struct</span> <a class="link" href="count_impl.html" title="Struct count_impl">count_impl</a> <span class="special">:</span> <span class="keyword">public</span> <span class="identifier">accumulator_base</span> <span class="special">{</span> 37 <span class="comment">// types</span> 38 <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a name="boost.accumulators.impl.count_impl.result_type"></a><span class="identifier">result_type</span><span class="special">;</span> 39 40 <span class="comment">// <a class="link" href="count_impl.html#boost.accumulators.impl.count_implconstruct-copy-destruct">construct/copy/destruct</a></span> 41 <a class="link" href="count_impl.html#id-1_3_2_6_3_3_1_1_2_1_4-bb"><span class="identifier">count_impl</span></a><span class="special">(</span><span class="identifier">dont_care</span><span class="special">)</span><span class="special">;</span> 42 43 <span class="comment">// <a class="link" href="count_impl.html#id-1_3_2_6_3_3_1_1_2_1_3-bb">public member functions</a></span> 44 <span class="keyword">void</span> <a class="link" href="count_impl.html#id-1_3_2_6_3_3_1_1_2_1_3_1-bb"><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span></a><span class="special">(</span><span class="identifier">dont_care</span><span class="special">)</span><span class="special">;</span> 45 <span class="identifier">result_type</span> <a class="link" href="count_impl.html#id-1_3_2_6_3_3_1_1_2_1_3_2-bb"><span class="identifier">result</span></a><span class="special">(</span><span class="identifier">dont_care</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span> 46 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Archive<span class="special">></span> <span class="keyword">void</span> <a class="link" href="count_impl.html#id-1_3_2_6_3_3_1_1_2_1_3_3-bb"><span class="identifier">serialize</span></a><span class="special">(</span><span class="identifier">Archive</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span><span class="special">;</span> 47<span class="special">}</span><span class="special">;</span></pre></div> 48<div class="refsect1"> 49<a name="id-1.3.2.6.3.3.4.4"></a><h2>Description</h2> 50<div class="refsect2"> 51<a name="id-1.3.2.6.3.3.4.4.2"></a><h3> 52<a name="boost.accumulators.impl.count_implconstruct-copy-destruct"></a><code class="computeroutput">count_impl</code> 53 public 54 construct/copy/destruct</h3> 55<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><pre class="literallayout"><a name="id-1_3_2_6_3_3_1_1_2_1_4-bb"></a><span class="identifier">count_impl</span><span class="special">(</span><span class="identifier">dont_care</span><span class="special">)</span><span class="special">;</span></pre></li></ol></div> 56</div> 57<div class="refsect2"> 58<a name="id-1.3.2.6.3.3.4.4.3"></a><h3> 59<a name="id-1_3_2_6_3_3_1_1_2_1_3-bb"></a><code class="computeroutput">count_impl</code> public member functions</h3> 60<div class="orderedlist"><ol class="orderedlist" type="1"> 61<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="id-1_3_2_6_3_3_1_1_2_1_3_1-bb"></a><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span><span class="special">(</span><span class="identifier">dont_care</span><span class="special">)</span><span class="special">;</span></pre></li> 62<li class="listitem"><pre class="literallayout"><span class="identifier">result_type</span> <a name="id-1_3_2_6_3_3_1_1_2_1_3_2-bb"></a><span class="identifier">result</span><span class="special">(</span><span class="identifier">dont_care</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li> 63<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Archive<span class="special">></span> 64 <span class="keyword">void</span> <a name="id-1_3_2_6_3_3_1_1_2_1_3_3-bb"></a><span class="identifier">serialize</span><span class="special">(</span><span class="identifier">Archive</span> <span class="special">&</span> ar<span class="special">,</span> <span class="keyword">const</span> <span class="keyword">unsigned</span> <span class="keyword">int</span> file_version<span class="special">)</span><span class="special">;</span></pre></li> 65</ol></div> 66</div> 67</div> 68</div> 69<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 70<td align="left"></td> 71<td align="right"><div class="copyright-footer">Copyright © 2005, 2006 Eric Niebler<p> 72 Distributed under the Boost Software License, Version 1.0. (See accompanying 73 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>) 74 </p> 75</div></td> 76</tr></table> 77<hr> 78<div class="spirit-nav"> 79<a accesskey="p" href="../extract/count.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../accumulators/reference.html#header.boost.accumulators.statistics.count_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="../tag/count.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> 80</div> 81</body> 82</html> 83