|
static_assert(std::atomic<std::size_t>::is_always_lock_free, "Atomic implementation is not lock free"); |
|
static_assert(std::atomic<node_union>::is_always_lock_free, "Atomic implementation is not lock free"); |
These two lines makes the compilation crash, maybe it is better to add a bool is_always_lock_free() function since the map still works with lock.