ptr namespace and make_unique
Hi, currently, OF (at ACG/Utils/SmartPointer.hh) and OVM (at System/MemoryInclude.hh) have (nearly?) identical support code to get shared_ptr and unique_ptr from the correct namespace for pre-c++11 compilers.
This should be obsolete now in OF (not sure about OVM, will that still support pre-c++11 for the foreseeable future?).
However, support for make_unique [0] would be great - it's very useful, but unfortunately didn't make it into c++ before c++14, but luckily the common non-array version is a straightforward one-liner to implement.
In case OVM does not require pre-c++11 support anymore, I would propose turning ptr from a namespace alias into a proper namespace with adds legacy code support using "using std::unique_ptr" (+shared_ptr, +make_shared - anything else?), and, depending on the C++-version, implements its own basic make_unique.
If not, my suggestion would be putting it somewhere else instead of reusing the old ptr namespace (/namespace alias).
Looking forward to hearing your thoughts on this!
[0] http://en.cppreference.com/w/cpp/memory/unique_ptr/make_unique