libstdc++: sample_probe_fn.hpp Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41#ifndef PB_DS_SAMPLE_PROBE_FN_HPP
42#define PB_DS_SAMPLE_PROBE_FN_HPP
43
45{
46
48 {
49 public:
50 typedef std::size_t size_type;
51
52
54
55
57
58
59 inline void
61
62 protected:
63
64 inline size_type
65 operator()(key_const_reference r_key, size_type i) const;
66 };
67}
68#endif
GNU extensions for policy-based data structures for public use.
void swap(sample_probe_fn &)
Swaps content.
sample_probe_fn(const sample_probe_fn &)
Copy constructor.
size_type operator()(key_const_reference r_key, size_type i) const
Returns the i-th offset from the hash value of some key r_key.
sample_probe_fn()
Default constructor.