SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
Loading...
Searching...
No Matches
bits_of.hpp File Reference

Provides utility functions for bit twiddling. More...

+ Include dependency graph for bits_of.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  seqan3
 The main SeqAn3 namespace.
 
namespace  seqan3::detail
 The internal SeqAn3 namespace.
 

Variables

template<typename type_t >
constexpr auto seqan3::detail::bits_of = min_viable_uint_v<CHAR_BIT * sizeof(type_t)>
 How many bits has a type?
 

Detailed Description

Provides utility functions for bit twiddling.

Author
Marcel Ehrhardt <marcel.ehrhardt AT fu-berlin.de>
See also
https://en.wikipedia.org/wiki/Bit_manipulation
Hide me