![]() SourcePro C++ 13.0 |
SourcePro® C++ API Reference Guide |
Product Documentation: SourcePro C++ Documentation Home |
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<From,To> converts between RWMathArray types with different datatypes.
|
inline |
Constructs a new array of type RWMathArray<To> that can be used anywhere as a type RWMathArray<To> . 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<From,To> to be used as an RWMathArray<To> . While the actual conversion takes place in the constructor, this operator provides a reference to that converted array.
Copyright © 2014 Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.