diff --git a/CMakeLists.txt b/CMakeLists.txt index 5a570a4..8aaf141 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.20) include(cmake/color.cmake) -set(BLT_VERSION 0.17.15) +set(BLT_VERSION 0.17.16) set(BLT_TEST_VERSION 0.0.1) set(BLT_TARGET BLT) diff --git a/include/blt/std/types.h b/include/blt/std/types.h index 0416ec0..fa7128d 100644 --- a/include/blt/std/types.h +++ b/include/blt/std/types.h @@ -44,4 +44,23 @@ namespace blt } #endif +namespace blt +{ + template + struct integer_type + { + T id; + + integer_type() = default; + + integer_type(T id): id(id) // NOLINT + {} + + inline operator T() const // NOLINT + { + return id; + } + }; +} + #endif //BLT_TYPES_H diff --git a/libraries/parallel-hashmap b/libraries/parallel-hashmap index 1036816..d88c5e1 160000 --- a/libraries/parallel-hashmap +++ b/libraries/parallel-hashmap @@ -1 +1 @@ -Subproject commit 10368163ab1f4367d2f0685b5928b1c973ebd1ec +Subproject commit d88c5e15079047777b418132ece5879e7c9aaa2b