Skip to content

Class jac::detail::CallableHolder< Func, std::function< Res(ContextRef, ValueWeak, ValueVectorWeak)>, true, true >

template <typename Func, typename Res>

ClassList > jac > detail > CallableHolder< Func, std::function< Res(ContextRef, ValueWeak, ValueVectorWeak)>, true, true >

Inherits the following classes: jac::detail::CallableBase

Public Functions

Type Name
CallableHolder (Func func)
virtual Value invoke (ContextRef ctx, ValueWeak thisVal, ValueVectorWeak args) override

Public Functions inherited from jac::detail::CallableBase

See jac::detail::CallableBase

Type Name
virtual Value invoke (ContextRef ctx, ValueWeak thisVal, ValueVectorWeak args) = 0
virtual ~CallableBase () = default

Public Functions Documentation

function CallableHolder

inline explicit jac::detail::CallableHolder< Func, std::function< Res(ContextRef, ValueWeak, ValueVectorWeak)>, true, true >::CallableHolder (
    Func func
) 

function invoke

inline virtual Value jac::detail::CallableHolder< Func, std::function< Res(ContextRef, ValueWeak, ValueVectorWeak)>, true, true >::invoke (
    ContextRef ctx,
    ValueWeak thisVal,
    ValueVectorWeak args
) override

Implements jac::detail::CallableBase::invoke



The documentation for this class was generated from the following file src/jac/machine/functionFactory.h