Jobrocket
jobrocket::detail Namespace Reference

Namespaces

 impl
 

Classes

class  AtomicCounter
 
struct  concat_sequence
 
struct  concat_sequence< index_sequence< I1... >, index_sequence< I2... > >
 
class  FixedPoolAllocator
 
class  FixedWorkStealingQueue
 
struct  index_sequence
 
struct  make_index_sequence
 
struct  make_index_sequence< 0 >
 
struct  make_index_sequence< 1 >
 
struct  xoroshiro128
 A fast random number generating object that uses the Xoroshiro128+ algorithm. More...
 

Typedefs

template<typename... T>
using index_sequence_for = make_index_sequence< sizeof...(T)>
 

Functions

template<class Fn , class Tuple >
decltype(auto) constexpr apply (Fn &&function, Tuple &&tuple)
 
void print_error (const char *source, const char *what)
 
void print_error (const char *source, const char *what, const char *help)
 
template<typename Fn , typename... Args, std::enable_if_t< std::is_member_pointer< std::decay_t< Fn > >{}, int > = 0>
decltype(auto) constexpr invoke (Fn &&f, Args &&... args) noexcept(noexcept(std::mem_fn(f)(std::forward< Args >(args)...)))
 

Typedef Documentation

◆ index_sequence_for

template<typename... T>
using jobrocket::detail::index_sequence_for = typedef make_index_sequence<sizeof...(T)>

Function Documentation

◆ apply()

template<class Fn , class Tuple >
decltype(auto) constexpr jobrocket::detail::apply ( Fn &&  function,
Tuple &&  tuple 
)

◆ invoke()

template<typename Fn , typename... Args, std::enable_if_t< std::is_member_pointer< std::decay_t< Fn > >{}, int > = 0>
decltype(auto) constexpr jobrocket::detail::invoke ( Fn &&  f,
Args &&...  args 
)
noexcept

◆ print_error() [1/2]

void jobrocket::detail::print_error ( const char *  source,
const char *  what 
)

◆ print_error() [2/2]

void jobrocket::detail::print_error ( const char *  source,
const char *  what,
const char *  help 
)