ENH: pre-cleanup of Xfer class (issue #639)
- This class is largely a pre-C++11 holdover, prior to having movable references. - align internals with autoPtr instead of always unconditionally allocating memory. The valid() method can be used to check for a null pointer. - Consolidate into a single file, in anticipation of future removal.
Showing
- applications/test/xfer1/Make/files 0 additions, 3 deletionsapplications/test/xfer1/Make/files
- applications/test/xfer1/Make/options 0 additions, 0 deletionsapplications/test/xfer1/Make/options
- applications/test/xfer1/Test-xfer1.C 0 additions, 233 deletionsapplications/test/xfer1/Test-xfer1.C
- src/OpenFOAM/memory/Xfer/Xfer.H 78 additions, 49 deletionssrc/OpenFOAM/memory/Xfer/Xfer.H
- src/OpenFOAM/memory/Xfer/XferI.H 0 additions, 186 deletionssrc/OpenFOAM/memory/Xfer/XferI.H
Please register or sign in to comment