mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-30 11:06:55 -06:00
5284497bad
I originally wanted to make share_obj a class so that I could hide the helper function, but it turned out that I needed a function after all since a function template can be inferred from the parameters but the type cannot from the constructor. By returning a shared_ptr directly, the compiler can do return object optimization. |
||
---|---|---|
.. | ||
DataMap.hpp | ||
Event_impl.hpp | ||
Event.cpp | ||
Event.hpp | ||
NullStream.cpp | ||
NullStream.hpp | ||
share_obj.hpp |