Alexandria 2.31.2
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Pyston::makeBinaryFunctionHelper< R(T, T)> Struct Template Reference

#include <Helpers.h>

Static Public Member Functions

static boost::python::object make (const std::string &repr, std::function< R(T, T)> functor, bool reversed)
 

Detailed Description

template<typename R, typename T>
struct Pyston::makeBinaryFunctionHelper< R(T, T)>

Function factory specifically for binary functions, with the additional option to reverse them

Template Parameters
RReturn type
TType of the parameter

Definition at line 71 of file Helpers.h.

Member Function Documentation

◆ make()

template<typename R, typename T>
static boost::python::object Pyston::makeBinaryFunctionHelper< R(T, T)>::make ( const std::string & repr,
std::function< R(T, T)> functor,
bool reversed )
inlinestatic

Definition at line 73 of file Helpers.h.


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