Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
|
template<typename T , int B, typename MP > |
using | node_ptr = boost::intrusive_ptr< node< T, B, MP > > |
|
template<typename T , int B> |
using | leaf_node = std::array< T, 1<< B > |
|
template<typename T , int B, typename MP > |
using | inner_node = std::array< node_ptr< T, B, MP >, 1<< B > |
|
|
constexpr auto | fast_log2 (std::size_t x) |
|
template<typename T , int B, typename MP , typename ... Ts> |
auto | make_node (Ts &&...xs) -> boost::intrusive_ptr< node< T, B, MP >> |
|
|
template<int B, typename T = std::size_t> |
constexpr T | branches = T{1} << B |
|
template<int B, typename T = std::size_t> |
constexpr T | mask = branches<B, T> - 1 |
|
template<int B, typename T = std::size_t> |
constexpr auto | max_depth |
|
template<typename T , int B, typename MP > |
const impl< T, B, MP > | empty |
|
◆ inner_node
template<typename T , int B, typename MP >
◆ leaf_node
template<typename T , int B>
◆ node_ptr
template<typename T , int B, typename MP >
◆ fast_log2()
constexpr auto immer::detail::dvektor::fast_log2 |
( |
std::size_t |
x | ) |
|
Definition at line 26 of file dvektor_impl.hpp.
Referenced by immer::detail::dvektor::ref< T, B, MemoryPolicy >::get_elem(), immer::detail::dvektor::ref< T, B, MemoryPolicy >::goto_fresh_pos_writable_from_clean(), immer::detail::dvektor::ref< T, B, MemoryPolicy >::goto_next_block_start(), immer::detail::dvektor::ref< T, B, MemoryPolicy >::goto_pos(), and immer::detail::dvektor::ref< T, B, MemoryPolicy >::goto_pos_writable_from_dirty().
◆ make_node()
template<typename T , int B, typename MP , typename ... Ts>
auto immer::detail::dvektor::make_node |
( |
Ts &&... |
xs | ) |
-> boost::intrusive_ptr<node<T, B, MP>>
|
◆ branches
template<int B, typename T = std::size_t>
constexpr T immer::detail::dvektor::branches = T{1} << B |
◆ empty
template<typename T , int B, typename MP >
const impl<T, B, MP> immer::detail::dvektor::empty |
◆ mask
template<int B, typename T = std::size_t>
constexpr T immer::detail::dvektor::mask = branches<B, T> - 1 |
◆ max_depth
template<int B, typename T = std::size_t>
constexpr auto immer::detail::dvektor::max_depth |
Initial value:=
fast_log2(std::numeric_limits<std::size_t>::max()) / B
constexpr auto fast_log2(std::size_t x)
Definition at line 38 of file dvektor_impl.hpp.