Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
alib2aux
src
stats
SizeStat.h
Go to the documentation of this file.
1
6
#pragma once
7
8
#include <alib/set>
9
10
namespace
stats
{
11
12
class
SizeStat
{
13
public
:
14
template
<
class
T >
15
static
unsigned
stat
(
const
ext::set < T >
&
object
);
16
};
17
18
template
<
class
T >
19
unsigned
SizeStat::stat
(
const
ext::set < T >
&
object
) {
20
return
object
.size ( );
21
}
22
23
}
24
ext::set
Definition:
set.hpp:44
stats::SizeStat
Definition:
SizeStat.h:12
stats::SizeStat::stat
static unsigned stat(const ext::set< T > &object)
Definition:
SizeStat.h:19
stats
Definition:
SizeStat.h:10
Generated on Mon Dec 27 2021 10:21:52 for Algorithms Library Toolkit by
1.9.2