mrdocs::dom::FunctionImpl

Value-semantic wrapper over a callable exposed to the DOM layer.

Synopsis

Declared in <mrdocs/Dom/Function.hpp>

class FunctionImpl;

Description

Abstract base for function implementations.

Member Functions

NameDescription
~FunctionImpl [destructor] [virtual]Destructor.
call [virtual]Invoke the function.
type_key [virtual]Return the type key of the implementation.

Derived Classes

NameDescription
DefaultFunctionImpl Function implementation that wraps a fixed-arity callable.
VariadicFunctionImpl Function implementation that forwards the entire Array to a callable.