Records

Functions

  • void * checked (size_t size, AllocChecker * ac, void * mem)

    Defined at line 74 of file ../../src/devices/lib/dev-operation/include/lib/operation/helpers/alloc_checker.h

  • template <typename T, typename = std::enable_if_t<std::is_trivially_copyable_v<T> && (sizeof(T) <= 8)>>
    void Swap (T & a, T & b)

    Swaps two trivially copyable types with size no greater than 64 bits.

    Defined at line 439 of file ../../src/devices/lib/dev-operation/include/lib/operation/helpers/intrusive_container_utils.h

  • template <typename T, typename U, typename = std::enable_if_t<std::is_pointer_v<T>>>
    T make_sentinel (U * ptr)

    Create a sentinel pointer from a raw pointer, converting it to the specified

    type in the process.

    Defined at line 473 of file ../../src/devices/lib/dev-operation/include/lib/operation/helpers/intrusive_container_utils.h

  • template <typename T, typename = std::enable_if_t<std::is_pointer_v<T>>>
    T make_sentinel (decltype(nullptr) )

    Defined at line 478 of file ../../src/devices/lib/dev-operation/include/lib/operation/helpers/intrusive_container_utils.h

  • template <typename T, typename U, typename = std::enable_if_t<std::is_pointer_v<T>>>
    T unmake_sentinel (U * sentinel)

    Turn a sentinel pointer back into a normal pointer, automatically

    re-interpreting its type in the process.

    Defined at line 485 of file ../../src/devices/lib/dev-operation/include/lib/operation/helpers/intrusive_container_utils.h

  • template <typename T>
    bool is_sentinel_ptr (const T * ptr)

    Test to see if a pointer is a sentinel pointer.

    Defined at line 491 of file ../../src/devices/lib/dev-operation/include/lib/operation/helpers/intrusive_container_utils.h

  • template <typename T>
    bool valid_sentinel_ptr (const T * ptr)

    Test to see if a pointer (which may be a sentinel) is valid. Valid in this

    context means that the pointer is not null, and is not a sentinel.

    Defined at line 498 of file ../../src/devices/lib/dev-operation/include/lib/operation/helpers/intrusive_container_utils.h