My Project
hashKeyStack.cc
Go to the documentation of this file.
1/* hashKeyStack.cc
2 */
4#include <iostream>
5
7HashKeyStack::HashKeyStack(size_t capacity)
8{
9 data.reserve(capacity);
10}
11
16
19{
20 data.push_back(key);
21}
22
25{
26#ifndef MINIMAL
27 for (auto& key: data) {
28 std::cerr << key << std::endl;
29 }
30#endif
31}
32
33namespace osl {
34 namespace hash {
35
36 bool operator==(const HashKeyStack& l, const HashKeyStack& r)
37 {
38 return l.data == r.data;
39 }
40
41 } // namespace hash
42} // namespace osl
43
44// ;;; Local Variables:
45// ;;; mode:c++
46// ;;; c-basic-offset:2
47// ;;; End:
void push(const HashKey &)
HashKeyStack(size_t capacity=0)
bool operator==(const HashKey128 &l, const HashKey128 &r)
Definition hashKey.h:129