All Versions
10
Latest Version
Avg Release Cycle
133 days
Latest Release
1078 days ago
Changelog History
Changelog History
-
v1.0.0 Changes
June 22, 2020- ๐ Fix issue #24, add support for efficient serialization.
- โ Add
bool contains(...)
methods.
-
v0.8.1 Changes
February 17, 2019- ๐ Fix compilation error with GCC 9, the implicit copy/move constructor/operator of the iterator were not generated.
- ๐ Fix issue #23, rename the internal
insert
with hint method toinsert_hint
to avoid a potential ambiguous overload with theinsert
with a pair of iterators.
-
v0.8.0 Changes
January 27, 2019- Rename CMake project name from
tsl_ordered_map
totsl-ordered-map
for coherence with the convention used by most package managers. Thefind_package(tsl-ordered-map)
command must now be used instead of thefind_package(tsl_ordered_map)
. - 0๏ธโฃ Set bucket count for default constructed map/set to 0 to avoid any allocation.
- ๐ Fix CMake >= 3.13 warning on Policy CMP0076 and add quotes to paths.
- Remove
cxx_std_11
fromtarget_compile_features
to avoid a warning with older versions of CMake that don't support it. The warning was given even if thetarget_compile_features
was surrounded in aif(${CMAKE_VERSION} VERSION_GREATER "3.7")
. - Fix bug where using
rehash(0)
on an empty map with abucket_count > 0
would result in an invalidm_buckets
pointer leading to potential segfaults.
- Rename CMake project name from
-
v0.7.1 Changes
November 03, 2018- ๐ Fix
CMakeLists.txt
. Only add the CMake installation rules for version of CMake >= 3.3 to keep compatibility with CMake 3.1.
- ๐ Fix
-
v0.7.0 Changes
October 12, 2018 -
v0.6.0 Changes
August 06, 2018๐ This release introduce a minor backward incompatibility by moving the headers files.
- ๐ Move the header files from
tsl
toinclude/tsl
for more coherence with other C++ libraries. - For CMake users, add an exported target
tsl::ordered_map
to be used withtarget_link_libraries
.
- ๐ Move the header files from
-
v0.5.0 Changes
August 04, 2018- In
max_load_factor(float ml)
, check that theml
parameter is in the range [0.1, 0.95]. - ๐ Bug correction, restore support for copy constructible only objects as key or value in a map (#11) .
- ๐ Bug correction, set a moved hash map/set in a valid state so that it can still be used even after a move. (#17)
- โ Add the possibility to use the library without exceptions (#13)
- โ Add support for large maps/sets (more than 232 - 1 elements) through an extra class template parameter (#18)
- In
-
v0.4.0 Changes
August 12, 2017- Split
ordered_map.h
intoordered_hash.h
,ordered_map.h
andordered_set.h
. - ๐ Move header files from
src
directory totsl
directory - โฌ๏ธ Reduce default max load factor to 0.75.
- ๐ Bug correction in
equal_range
, the second iterator was always equal to the first. - โ Add methods taking a precalculated hash for lookups.
- Correct amount of reserved space for range insert.
- Use
uint_least32_t
instead ofuint32_t
for portability. - Bug correction in 'iterator erase(const_iterator first, const_iterator last)`.
- Add
insert_at_position
,emplace_at_position
andtry_emplace_at_position methods
. - Correct method signature of
emplace_hint
.
- Split
-
v0.3.0 Changes
July 11, 2017- Add try_emplace and insert_or_assign methods (#7).
- ๐ Bug correction (#5) for the clear() method.
- ๐ Use 'Empty Base Optimization' for Hash and KeyEqual to reduce the sizeof(tsl::ordered_map/set).
- โ Add
iterator nth(size_type index)
method. - โ Add missing method for
operator+
in iterators (#4). - ๐ Bug correction, check that we are not over
max_size()
when inserting a new element.
-
v0.2.0 Changes
March 12, 2017- โ Add support for GCC 4 8.4.
- ๐ Bug correction, swap was recursing infinitely.
- โฌ๏ธ Reduce identifiers length to avoid VS 'decorated name length exceeded' (C4503) warning.