How a CSysVector is captured inside an expression: a bare pointer to whichever storage the expression is going to be evaluated from.
More...
#include <CSysVector.hpp>
template<class
Scalar>
class VecExpr::CVectorView< Scalar >
How a CSysVector is captured inside an expression: a bare pointer to whichever storage the expression is going to be evaluated from.
- Note
- Capturing by value (rather than a reference to the vector) is what makes an arbitrary expression tree trivially copyable, and therefore passable by value to the assignment kernel. The choice of storage is fixed when the expression is built, which is sound because there is no fallback: while UseDeviceExpressions() holds, every expression is evaluated by a kernel.
◆ CVectorView()
◆ operator[]()
◆ StoreAsRef
The documentation for this class was generated from the following file: