Main Content

matlab::data::apply_visitor

Call Visitor class on arrays

Description

auto apply_visitor(Array a, V visitor) dispatch to visitor class operations based on array type.

Include

Namespace:

matlab::data
IncludeArrayVisitors.hpp

Parameters

matlab::data::Array a

The matlab::data::Array to operate on with the visitor class.

visitor class V

The user-supplied visitor class.

Return Value

auto

Outputs returned by the visitor.

Introduced in R2017b