-
-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP 64bit map * Progress * Fix set headers. * Progress * progress * B6 map/set tests, fix gcc8 build for map tests * Make literals unsigned in hamts/bits.h * Fix bitset overflow issue for maps with B=6 * More overflow fixes * '1 << idx' now returns 32-bit value or 64-bit value depending on B * Address review issues. * Meh. I've broken deduction magic.
- Loading branch information
1 parent
3eb9a0c
commit 1c8fdac
Showing
8 changed files
with
104 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// immer: immutable data structures for C++ | ||
// Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente | ||
// | ||
// This software is distributed under the Boost Software License, Version 1.0. | ||
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt | ||
// | ||
|
||
#include <immer/map.hpp> | ||
|
||
template <typename K, typename T, | ||
typename Hash = std::hash<K>, | ||
typename Eq = std::equal_to<K>> | ||
using test_map_t = immer::map<K, T, Hash, Eq, immer::default_memory_policy, 6u>; | ||
|
||
#define MAP_T test_map_t | ||
#include "generic.ipp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// immer: immutable data structures for C++ | ||
// Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente | ||
// | ||
// This software is distributed under the Boost Software License, Version 1.0. | ||
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt | ||
// | ||
|
||
#include <immer/set.hpp> | ||
|
||
template <typename T, | ||
typename Hash = std::hash<T>, | ||
typename Eq = std::equal_to<T>> | ||
using test_set_t = immer::set<T, Hash, Eq, immer::default_memory_policy, 6u>; | ||
|
||
#define SET_T test_set_t | ||
#include "generic.ipp" |