mn_utils.hpp
Go to the documentation of this file.
Pseudro-Random Number Generator based on xor_shift128++ generator.
Definition: mn_ramdom_xorshift.hpp:36
Pseudro-Random Number Generator based on a 32-bit linear-feedback shift register.
Definition: mn_random_lfsr.hpp:36
#define MN_TEMPLATE_FULL_DECL_THREE(d1, t1, d2, t2, d3, t3)
Definition: mn_defines.hpp:27
#define MN_TEMPLATE_FULL_DECL_TWO(d1, t1, d2, t2)
Definition: mn_defines.hpp:26
This file is part of the Mini Thread Library (https://github.com/RoseLeBlood/MiniThread ).
void construct_n(T *to, mn::size_t count, int_to_type< false >)
Definition: mn_utils.hpp:147
void destruct_n(T *first, mn::size_t n, int_to_type< false >)
Definition: mn_utils.hpp:104
void move_n(const T *from, mn::size_t n, T *result, int_to_type< false >)
Definition: mn_utils.hpp:68
bool debug_pred(const TPred &pred, const T1 &a, const T2 &b)
Definition: mn_utils.hpp:164
void copy_construct(T *mem, const T &orig, int_to_type< false >)
Definition: mn_utils.hpp:137
void copy_n(const T *first, mn::size_t n, T *result, int_to_type< false >)
Definition: mn_utils.hpp:36
void move(const T *first, const T *last, T *result, int_to_type< false >)
Definition: mn_utils.hpp:79
void copy(const T *first, const T *last, T *result, int_to_type< false >)
Definition: mn_utils.hpp:56
void copy_construct_n(const T *first, mn::size_t n, T *result, int_to_type< false >)
Definition: mn_utils.hpp:92
void test_ordering(TIter first, TIter last, const TPred &pred)
Definition: mn_utils.hpp:159
Definition: mn_utils.hpp:169
Definition: mn_utils.hpp:171
Definition: mn_utils.hpp:168
struct mn::memory::detail::ptr_difference T
Definition: mn_atomic_singleton.hpp:38
Definition: mn_allocator_typetraits.hpp:25
Definition: mn_utils.hpp:274
Definition: mn_utils.hpp:243
T operator()(const T &a, const T &b) const noexcept
Definition: mn_utils.hpp:244
Definition: mn_utils.hpp:187
bool operator()(const T &lhs, const T &rhs) const noexcept
Definition: mn_utils.hpp:188
Definition: mn_utils.hpp:201
bool operator()(const T &lhs, const T &rhs) const noexcept
Definition: mn_utils.hpp:202
Definition: mn_utils.hpp:181
bool operator()(const T &lhs, const T &rhs) const noexcept
Definition: mn_utils.hpp:182
Definition: mn_utils.hpp:268
Definition: mn_inttokey.hpp:25
Definition: mn_utils.hpp:208
bool operator()(const T &lhs, const T &rhs) const noexcept
Definition: mn_utils.hpp:209
Definition: mn_utils.hpp:175
bool operator()(const T &lhs, const T &rhs) const noexcept
Definition: mn_utils.hpp:176
Definition: mn_utils.hpp:229
T operator()(const T &a, const T &b) const noexcept
Definition: mn_utils.hpp:230
Definition: mn_utils.hpp:250
T operator()(const T &a, const T &b) const noexcept
Definition: mn_utils.hpp:251
Definition: mn_utils.hpp:236
T operator()(const T &a, const T &b) const noexcept
Definition: mn_utils.hpp:237
Definition: mn_utils.hpp:215
Definition: mn_utils.hpp:193
bool operator()(const T &lhs, const T &rhs) const noexcept
Definition: mn_utils.hpp:194
Definition: mn_utils.hpp:222