SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
Loading...
Searching...
No Matches
bits_of.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
2// SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
3// SPDX-License-Identifier: BSD-3-Clause
4
11#pragma once
12
13#include <climits>
14
16
17namespace seqan3::detail
18{
19
25template <typename type_t>
26constexpr auto bits_of = min_viable_uint_v<CHAR_BIT * sizeof(type_t)>;
27
28} // namespace seqan3::detail
Provides metaprogramming utilities for integer types.
Hide me