Changeset 4118


Ignore:
Timestamp:
Oct 24, 2021, 5:00:13 AM (7 months ago)
Author:
Peter
Message:

document operations that invalidate references, views, iterators, etc. closes #974

File:
1 edited

Legend:

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

    r4106 r4118  
    165165       where B, C, and D are all instances of class Matrix.
    166166
    167        Typically this constructor is not used, if rvalues are
    168        enabled. \see Matrix(MatrixExpression<T>&&).
     167       Typically MatrixExpression only exists as rvalue, and this
     168       operator is not called but the rvalue version,
     169       operator=(MatrixExpression<T>&&)
     170
     171       Invalidates, references, iterators and views.
    169172
    170173       \since new in yat 0.15
     
    175178    /**
    176179       \brief The move constructor.
     180
     181       Invalidates references, iterators, and views.
    177182
    178183       \since new in yat 0.15
     
    192197
    193198       where B, C, and D are all instances of class Matrix.
     199
     200       Invalidates, references, iterators and views.
    194201
    195202       \since new in yat 0.15
     
    507514       where A, B, C, and D are all instances of class Matrix.
    508515
    509        Typically this constructor is not used, if rvalues are
    510        enabled. \see Matrix(MatrixExpression<T>&&).
     516       Typically MatrixExpression only exists as rvalue, and this
     517       operator is not called but the rvalue version,
     518       operator=(MatrixExpression<T>&&)
     519
     520       Invalidates, references, iterators and views.
    511521
    512522       \since new in yat 0.15
     
    518528    /**
    519529       \brief Move assignment operator
     530
     531       Invalidates references, iterators, and views.
    520532
    521533       \since new in yat 0.15
     
    536548       where B, C, and D are all instances of class Matrix.
    537549
    538        Typically this constructor is not used, if rvalues are
    539        enabled. \see Matrix(MatrixExpression<T>&&).
     550       Invalidates references, iterators, and views.
    540551
    541552       \since new in yat 0.15
     
    675686     \since New in yat 0.15
    676687
     688     \note Space for Matrix \a result reallocated and references,
     689     iterators and views are invalidated.
     690
    677691     \relates Matrix
    678692   */
     
    729743     valid and a zero means that the corresponding element is a NaN.
    730744
    731      \note Space for Matrix \a flag is reallocated to fit the size of
    732      Matrix \a templat if sizes mismatch.
     745     \note If sizes mismatch, space for Matrix \a flag is reallocated
     746     and references, iterators, and views are invalidated.
    733747
    734748     \return True if the \a templat Matrix contains at least one NaN.
Note: See TracChangeset for help on using the changeset viewer.