Alexandria 2.31.4
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Pyston::makeFunctionHelper< R(Args...)> Struct Template Reference

#include <Helpers.h>

Static Public Member Functions

static boost::python::object make (const std::string &repr, std::function< R(Args...)> functor)
 

Detailed Description

template<typename R, typename... Args>
struct Pyston::makeFunctionHelper< R(Args...)>

Create a function factory for functions that do not expect a context, wrapping them into a lambda expression that just ignores it

Definition at line 50 of file Helpers.h.

Member Function Documentation

◆ make()

template<typename R, typename... Args>
static boost::python::object Pyston::makeFunctionHelper< R(Args...)>::make ( const std::string & repr,
std::function< R(Args...)> functor )
inlinestatic

Definition at line 51 of file Helpers.h.


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