Ignore:
Timestamp:
Dec 29, 2008, 7:28:03 PM (15 years ago)
Author:
Peter
Message:

correcting docs on proxy in VecetorView?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/VectorView.h

    r1651 r1679  
    5858     reference), implies that temporary objects such as objects
    5959     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.
    6463     For example
    6564     @code
     
    6766     sum(m.row_view(0));
    6867     @endcode
    69      but you need to use create a dummie object
     68     but you need to create a dummie object
    7069     @code
    7170     Matrix m(10,10);
Note: See TracChangeset for help on using the changeset viewer.