libjmmcg  build_2783
A C++ library containing an eclectic mix of useful, advanced components.
jmmcg::private_::unroll< N > Struct Template Reference

#include <memops_impl.hpp>

Static Public Member Functions

template<class Op >
static constexpr void FORCE_INLINE result (Op &&o) noexcept(noexcept(o.operator()(N-1)))
 Apply the specified operation the specified number of times, sequentially. More...
 
template<class Op >
static constexpr bool FORCE_INLINE result_b (Op &&o) noexcept(noexcept(o.operator()(N-1)))
 

Detailed Description

template<unsigned long long N>
struct jmmcg::private_::unroll< N >

Definition at line 61 of file memops_impl.hpp.

Member Function Documentation

◆ result()

template<unsigned long long N>
template<class Op >
static constexpr void FORCE_INLINE jmmcg::private_::unroll< N >::result ( Op &&  o)
inlinestaticconstexprnoexcept

Apply the specified operation the specified number of times, sequentially.

Parameters
oThe operation to apply.

Definition at line 85 of file memops_impl.hpp.

◆ result_b()

template<unsigned long long N>
template<class Op >
static constexpr bool FORCE_INLINE jmmcg::private_::unroll< N >::result_b ( Op &&  o)
inlinestaticconstexprnoexcept

Definition at line 91 of file memops_impl.hpp.


The documentation for this struct was generated from the following file: