Go to the source code of this file.
Namespaces | |
eagine | |
Common code is placed in this namespace. | |
Functions | |
static constexpr auto | eagine::memory::misalignment (span_size_t addr, span_size_t alignment) noexcept -> span_size_t |
Calculates basic numeric address misalignment. | |
static constexpr auto | eagine::memory::misalignment (std::nullptr_t, span_size_t) noexcept -> span_size_t |
Calculates basic numeric address misalignment. | |
static constexpr auto | eagine::memory::is_aligned_to (span_size_t addr, span_size_t algn) noexcept |
Indicates if a basic numeric address is aligned. | |
static constexpr auto | eagine::memory::is_aligned_to (std::nullptr_t, span_size_t) noexcept |
Indicates if a basic numeric address is aligned. | |
template<typename T > | |
static constexpr auto | eagine::memory::is_aligned_as (span_size_t addr, type_identity< T >={}) noexcept |
Indicates if a basic numeric address is aligned to alignment of type T. | |
Copyright Matus Chochlik. Distributed under the Boost Software License, Version 1.0. See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt