* \brief Checks if the this matrix has exclusive use to the underlying data, i.e. no other matrix expression shares the data. * This allows to check if this matrix is used in other expressions because that increments the internal reference counter. * If the internal reference counter is one, the matrix is nowhere else copied and this method returns true. * * This is used to de
| 744 | * \return |
| 745 | */ |
| 746 | CUMAT_STRONG_INLINE bool isExclusiveUse() const |
| 747 | { |
| 748 | return data_.dataPointer().getCounter() == 1; |
| 749 | } |
| 750 | |
| 751 | /** |
| 752 | * \brief Checks if the underlying data is used by an other matrix expression and if so, |
no outgoing calls
no test coverage detected