LeechCraft  0.6.70-3565-g2d86529
Modular cross-platform feature rich live environment.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
LeechCraft::Util::detail Namespace Reference

Classes

struct  UnwrapFutureType
 
struct  UnwrapFutureType< QFuture< T > >
 
struct  IsFuture
 
struct  IsFuture< QFuture< T > >
 
struct  HandlerInvoker
 
struct  HandlerInvoker< void, ResultHandler >
 
class  Sequencer
 Incapsulates the sequencing logic of asynchronous actions. More...
 
class  SequenceProxy
 A proxy object allowing type-checked sequencing of actions and responsible for starting the initial action. More...
 
struct  ComparingByClosure
 
class  StlAssocIteratorAdaptor
 
struct  StlAssocRange
 
struct  StlAssocRange< Iter, Assoc &, PairType >
 
class  ScopeGuard
 

Typedefs

template<typename T >
using UnwrapFutureType_t = typename UnwrapFutureType< T >::type
 
template<template< typename, template< typename, typename > class > class This, typename Iter , template< typename, typename > class PairType>
using IteratorAdaptorBase = boost::iterator_adaptor< This< Iter, PairType >, Iter, PairType< decltype(Iter{}.key()), decltype(Iter{}.value())>, boost::use_default, PairType< decltype(Iter{}.key()), decltype(Iter{}.value())> >
 
using DefaultScopeGuardDeleter = std::function< void()>
 

Functions

constexpr size_t NewTypeHash (const char *str)
 
template<typename Res , typename T >
void Append (Res &result, T &&val, decltype(result.push_back(std::forward< T >(val)))*=nullptr)
 
template<typename Res , typename T >
void Append (Res &result, T &&val, decltype(result.insert(std::forward< T >(val)))*=nullptr)
 
template<typename T , typename F >
constexpr bool IsInvokableWithConstImpl (typename std::result_of< F(const T &)>::type *)
 
template<typename T , typename F >
constexpr bool IsInvokableWithConstImpl (...)
 
template<typename T , typename F >
constexpr bool IsInvokableWithConst ()
 

Typedef Documentation

using LeechCraft::Util::detail::DefaultScopeGuardDeleter = typedef std::function<void ()>

Definition at line 40 of file util.h.

template<template< typename, template< typename, typename > class > class This, typename Iter , template< typename, typename > class PairType>
using LeechCraft::Util::detail::IteratorAdaptorBase = typedef boost::iterator_adaptor< This<Iter, PairType>, Iter, PairType<decltype (Iter {}.key ()), decltype (Iter {}.value ())>, boost::use_default, PairType<decltype (Iter {}.key ()), decltype (Iter {}.value ())> >

Definition at line 51 of file qtutil.h.

template<typename T >
using LeechCraft::Util::detail::UnwrapFutureType_t = typedef typename UnwrapFutureType<T>::type

Definition at line 55 of file futures.h.

Function Documentation

template<typename Res , typename T >
void LeechCraft::Util::detail::Append ( Res &  result,
T &&  val,
decltype(result.push_back(std::forward< T >(val)))*  = nullptr 
)

Definition at line 86 of file prelude.h.

Referenced by LeechCraft::Util::Map().

+ Here is the caller graph for this function:

template<typename Res , typename T >
void LeechCraft::Util::detail::Append ( Res &  result,
T &&  val,
decltype(result.insert(std::forward< T >(val)))*  = nullptr 
)

Definition at line 92 of file prelude.h.

template<typename T , typename F >
constexpr bool LeechCraft::Util::detail::IsInvokableWithConst ( )

Definition at line 110 of file prelude.h.

template<typename T , typename F >
constexpr bool LeechCraft::Util::detail::IsInvokableWithConstImpl ( typename std::result_of< F(const T &)>::type *  )

Definition at line 98 of file prelude.h.

template<typename T , typename F >
constexpr bool LeechCraft::Util::detail::IsInvokableWithConstImpl (   ...)

Definition at line 104 of file prelude.h.

constexpr size_t LeechCraft::Util::detail::NewTypeHash ( const char *  str)

Definition at line 69 of file newtype.h.