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

Name

Description

~FunctionImpl [destructor] [virtual]

Destructor.

call [virtual]

Invoke the function.

type_key [virtual]

Return the type key of the implementation.

Derived Classes

Name Description

DefaultFunctionImpl

Function implementation that wraps a fixed‐arity callable.

VariadicFunctionImpl

Function implementation that forwards the entire Array to a callable.

Created with MrDocs