Changeset 1679 for trunk/yat/utility/VectorView.h
- Timestamp:
- Dec 29, 2008, 7:28:03 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/utility/VectorView.h
r1651 r1679 58 58 reference), implies that temporary objects such as objects 59 59 returned from functions can not be copied directly. Instead the 60 copying is done via a proxy class (see VectorMutable). Also since 61 we can not bind a temporary to a non-const reference, a 62 VectorView returned from a function cannot be sent directly to a 63 function. 60 copying is done via a proxy class. Also since we can not bind a 61 temporary to a non-const reference, a VectorView returned from a 62 function cannot be sent directly to a function. 64 63 For example 65 64 @code … … 67 66 sum(m.row_view(0)); 68 67 @endcode 69 but you need to usecreate a dummie object68 but you need to create a dummie object 70 69 @code 71 70 Matrix m(10,10);
Note: See TracChangeset
for help on using the changeset viewer.