Skip to content

Adding a is_always_lock_free function rather than just failing the compilation #33

@Lomadriel

Description

@Lomadriel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions