Ignore:
Timestamp:
Feb 1, 2008, 7:34:35 PM (14 years ago)
Author:
Peter
Message:

not returning const VectorBase?& in vector and VectorView?

File:
1 edited

Legend:

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

    r1015 r1026  
    170170       \throw GSL_error if dimensions mis-match.
    171171    */
    172     const VectorBase& operator=(const VectorBase&);
    173     const VectorBase& operator=(const VectorView&);
     172    const VectorView& operator=(const VectorBase&);
     173    const VectorView& operator=(const VectorView&);
    174174
    175175    //const VectorBase& operator=(proxy);
    176176
    177177  private:
    178     const VectorBase& assign(const VectorBase& other);
     178    const VectorView& assign(const VectorBase& other);
    179179    void delete_allocated_memory(void);
    180180
Note: See TracChangeset for help on using the changeset viewer.