SeqAn3
3.3.0
The Modern C++ library for sequence analysis.
Toggle main menu visibility
Welcome
Setup
Quick Setup (using CMake)
Tutorial
First steps with SeqAn
Parsing command line arguments with Sharg
C++ Concepts
Alphabets in SeqAn
Ranges
Minimisers
Sequence File Input and Output
Pairwise Alignment
Indexing and searching with SeqAn
SAM Input and Output in SeqAn
Implementing your own read mapper with SeqAn
How-To
Porting from SeqAn2
How to write an argument parser with subcommands
How to serialise SeqAn data structures
How to write a view
How to write your own alphabet
Cookbook
About
Stability and long-term promises
Citing
Customisation
Changelog
Copyright
Code of Conduct
Contributing
API Reference
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
bits_of.hpp
Go to the documentation of this file.
1
// -----------------------------------------------------------------------------------------------------
2
// Copyright (c) 2006-2023, Knut Reinert & Freie Universität Berlin
3
// Copyright (c) 2016-2023, Knut Reinert & MPI für molekulare Genetik
4
// This file may be used, modified and/or redistributed under the terms of the 3-clause BSD-License
5
// shipped with this file and also available at: https://github.com/seqan/seqan3/blob/master/LICENSE.md
6
// -----------------------------------------------------------------------------------------------------
7
14
#pragma once
15
16
#include <
climits
>
17
18
#include <
seqan3/utility/detail/integer_traits.hpp
>
19
20
namespace
seqan3::detail
21
{
22
28
template
<
typename
type_t>
29
constexpr
auto
bits_of = min_viable_uint_v<CHAR_BIT *
sizeof
(type_t)>;
30
31
}
// namespace seqan3::detail
climits
integer_traits.hpp
Provides metaprogramming utilities for integer types.
seqan3
utility
detail
bits_of.hpp
Generated on Thu Aug 17 2023 14:29:11 for SeqAn3 by
1.9.6