summaryrefslogtreecommitdiff
path: root/src/set.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/set.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/set.h b/src/set.h
deleted file mode 100644
index ac8dbd5..0000000
--- a/src/set.h
+++ /dev/null
@@ -1,44 +0,0 @@
1/*
2 * Copyright (C) 2007-2011 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
8#ifndef BU_SET_H
9#define BU_SET_H
10
11#include <stddef.h>
12#include <string.h>
13#include <memory>
14#include <iostream>
15#include <list>
16#include <utility>
17#include "bu/exceptionbase.h"
18#include "bu/list.h"
19#include "bu/archive.h"
20
21#define bitsToBytes( n ) (n/32+(n%32>0 ? 1 : 0))
22
23namespace Bu
24{
25 subExceptionDecl( SetException )
26
27 /**
28 *@todo Set should be rewritten, possibly using a b-tree as ordered storage
29 * in the backend. It should use either a b-tree or array for storage and
30 * allow set intersections, unions, etc.
31 *@param key (typename) The datatype of the hashtable keys
32 *@param sizecalc (typename) Functor to compute new table size on rehash
33 *@param keyalloc (typename) Memory allocator for hashtable keys
34 *@param challoc (typename) Byte allocator for bitflags
35 *@ingroup Containers
36 */
37 template<typename key, typename sizecalc, typename keyalloc, typename challoc >
38 class Set
39 {
40 public:
41 };
42}
43
44#endif