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