ENH: add operator* to refPtr - makes it more like autoPtr
- would ideally like the same for tmp, but there is too much existing code that uses a multiply operation that would be interpreted as a dereference.
Showing
- applications/test/refPtr/Test-refPtr.C 2 additions, 1 deletionapplications/test/refPtr/Test-refPtr.C
- src/OpenFOAM/memory/refPtr/refPtr.H 12 additions, 4 deletionssrc/OpenFOAM/memory/refPtr/refPtr.H
- src/OpenFOAM/memory/refPtr/refPtrI.H 46 additions, 18 deletionssrc/OpenFOAM/memory/refPtr/refPtrI.H
Please register or sign in to comment