Detail

Contains metaprogramming utilities for integer types.

Author
Hannes Hauswedell <hannes.hauswedell AT fu-berlin.de>

namespace detail

The internal SeqAn3 namespace.

The contents of this namespace are not visible to consumers of the library and the documentation is only generated for developers.

See
https://github.com/seqan/seqan3/wiki/Documentation

Typedefs

using seqan3::detail::min_viable_uint_t = typedef std::conditional_t<value <= 1ull, bool, std::conditional_t<value <= 255ull, uint8_t, std::conditional_t<value <= 65535ull, uint16_t, std::conditional_t<value <= 4294967295ull, uint32_t, uint64_t>>>>

Given a value, return the smallest unsigned integer that can hold it.