Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

bits.hpp File Reference
#include <cstdint>
+ Include dependency graph for bits.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 immer
 
 immer::detail
 
 immer::detail::rbts
 

Typedefs

using immer::detail::rbts::bits_t = std::uint32_t
 
using immer::detail::rbts::shift_t = std::uint32_t
 
using immer::detail::rbts::count_t = std::uint32_t
 
using immer::detail::rbts::size_t = std::size_t
 

Variables

template<bits_t B, typename T = count_t>
constexpr T immer::detail::rbts::branches = T{1} << B
 
template<bits_t B, typename T = size_t>
constexpr T immer::detail::rbts::mask = branches<B, T> - 1
 
template<bits_t B, bits_t BL>
constexpr shift_t immer::detail::rbts::endshift = shift_t{BL} - shift_t{B}
 
Released under the MIT license