diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-18 03:02:38 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-18 03:02:38 +0300 |
commit | 55698d15bca43c13371f3b12b080685a0e1ac4c2 (patch) | |
tree | 213862625aab9a67da6bd04a526dc8cd165ea635 /moses/Bitmaps.h | |
parent | b6cc320b72aec8fd035521864c35052182b52851 (diff) |
templatize Comparer for unordered maps/set
Diffstat (limited to 'moses/Bitmaps.h')
-rw-r--r-- | moses/Bitmaps.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/moses/Bitmaps.h b/moses/Bitmaps.h new file mode 100644 index 000000000..62326ba95 --- /dev/null +++ b/moses/Bitmaps.h @@ -0,0 +1,14 @@ +#pragma once + +#include <boost/unordered_set.hpp> +#include "WordsBitmap.h" +#include "Util.h" + +class Bitmaps +{ + typedef boost::unordered_set<WordsBitmap*, UnorderedComparer<WordsBitmap>, UnorderedComparer<WordsBitmap> > Coll; + +public: + const WordsBitmap &GetBitmap(); + +}; |