XLL+ Class Library (7.0)

::mtx_const_adapter<T>

Create an instance of a read-only matrix adapter

imtx<T> mtx_const_adapter<T>(
   const C& src
);

Parameters

src

A reference to an object of type C which is a two-dimensional container for T, and does not support the imtx<T> interface.

Return Value

An instance of an adapter class that supports the imtx<T> interface.

Remarks

This template function creates an instance of a adapter derived from imtx<T> to read the specified matrix of type C.

The template function may be implemented for each matrix adapter class. It is not called by the XLL+ code generated for reading matrix arguments.

Requirements

Header: plemtx.h

See Also

Matrix template functions