ivutils
|
emFixTFSF Interface for LocalPointer. More...
#include <omp_pointers.h>
emFixTFSF Interface for LocalPointer.
Since we use abstract classes here we have to make copy of right type. For that we use virtual function make_copy() that handles copying original object with right descendant type. If original is nullptr we do not copy a thing. Since we don't really need global data here, join doesn't do anything. So calling join on local pointer will just delete local copy.