Manak  2.0.0
template_utils.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  manak::utils::helper::Hold< Args >
 
struct  manak::utils::helper::SGenerate< N >
 
struct  manak::utils::helper::SGenerate< 1 >
 
struct  manak::utils::helper::template_placeholder< int >
 
struct  manak::utils::helper::template_placeholder< int >
 
struct  manak::utils::manak_group_test< U, >
 
struct  std::is_placeholder< manak::utils::helper::template_placeholder< N > >
 Make template_placeholder class a valid standard placeholder. More...
 

Namespaces

 manak
 C++ Unit Benchmarking Library.
 
 manak::utils
 Useful Utilities.
 
 manak::utils::helper
 Template Helper Functions.
 
 std
 

Functions

template<typename RType , typename C , typename... Args>
std::function< RType(Args...)> manak::utils::BindToObject (RType(C::*fun)(Args...), C *c)
 
template<typename RType , typename C , typename... Args>
std::function< RType(Args...)> manak::utils::BindToObject (RType(C::*fun)(Args...) const, const C *c)
 
template<typename RType , typename C , typename... Args>
std::function< RType(Args...)> manak::utils::BindToObject (RType(C::*fun)(), C *c)
 
template<typename RType , typename C , typename... Args>
std::function< RType(Args...)> manak::utils::BindToObject (RType(C::*fun)() const, const C *c)
 
template<typename RType , typename F , typename O , int... S>
RType manak::utils::helper::BindToObject2 (F fun, const O *o, Hold< S...>)
 
template<typename RType , typename F , typename O , int... S>
RType manak::utils::helper::BindToObject2 (F fun, O *o, Hold< S...>)
 
template<typename RType , typename F , typename O >
RType manak::utils::helper::BindToObject2 (F fun, const O *o)
 
template<typename RType , typename F , typename O >
RType manak::utils::helper::BindToObject2 (F fun, O *o)
 
template<typename RType , typename P , typename... Args>
RType manak::utils::Caller (std::function< RType(Args...)> fun, P params)
 
template<typename RType , typename P , typename... Args>
RType manak::utils::Caller (RType(*fun)(Args...), P params)
 
template<typename RType , typename Fun , typename P , int... S>
RType manak::utils::helper::Caller_2 (Fun fun, P params, Hold< S...>)
 
template<typename RType , typename... Args>
RType manak::utils::helper::Caller_3 (std::function< RType(Args...)> fun, Args...args)
 

Variables

template<int N, int... Args>
Hold< Args..., N > manak::utils::helper::Combine (Hold< Args...>, Hold< N >)
 

Detailed Description

Author
Sumedh Ghaisas

Declaration of some helper template function.

Definition in file template_utils.hpp.