Main Content

matlab::data::apply_visitor_ref

Call Visitor class on array references

Description

auto apply_visitor_ref(const ArrayRef& a, V visitor) dispatch to visitor class operations based on array reference type.

Include

Namespace:

matlab::data
IncludeArrayVisitors.hpp

Parameters

const matlab::data::ArrayRef& a

A matlab::data::ArrayRef reference to the array to operate on with the visitor class.

visitor class V

The user-supplied visitor class.

Return Value

auto

Outputs returned by the visitor.

Version History

Introduced in R2017b