vSMC
vSMC: Scalable Monte Carlo
Classes | Namespaces | Functions
dispatch_function.hpp File Reference
#include <vsmc/internal/common.hpp>
#include <dispatch/dispatch.h>

Go to the source code of this file.

Classes

class  vsmc::DispatchFunction< T >
 Wrap a callable object into a dispatch_function_t type pointer. More...
 

Namespaces

 vsmc
 

Functions

template<typename T >
DispatchFunction< typename cxx11::remove_cv< typename cxx11::remove_reference< T >::type >::type > * vsmc::dispatch_function_new (T &&work) noexcept
 Make a DispatchFunction object from an arbitrary callable object. More...