Loading...
Searching...
No Matches
bits_of.hpp
Go to the documentation of this file.
// SPDX-FileCopyrightText: 2006-2025 Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2025 Knut Reinert & MPI für molekulare Genetik
// SPDX-License-Identifier: BSD-3-Clause
#pragma once
#include <climits>
#include <seqan3/utility/detail/integer_traits.hpp>
namespace seqan3::detail
{
template <typename type_t>
constexpr auto bits_of = min_viable_uint_v<CHAR_BIT * sizeof(type_t)>;
} // namespace seqan3::detail
climits
integer_traits.hpp
Provides metaprogramming utilities for integer types.
Hide me