Converts between RWMathArray types with different datatypes. More...
#include <rw/math/mtharray.h>
Public Member Functions | |
RWConvertMathArray (const RWMathArray< From > &v) | |
operator RWMathArray< To > () | |
Class RWConvertMathArray converts between RWMathArray types with different datatypes.
|
inline |
Constructs a new array of type RWMathArray that can be used anywhere as a type RWMathArray. Note that a temporary array is created every time this constructor is invoked, but the conversion operator below can be used repeatedly without creating additional temporaries.
|
inline |
Automatic conversion operator that enables the class RWConvertMathArray to be used as an RWMathArray. While the actual conversion takes place in the constructor, this operator provides a reference to that converted array.
Copyright © 2021 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |