Jørgen Kvalsvik 3f9e6a7be5 DeckItem can be automatically allocated.
Using a virtual base class DeckItem that exposed DeckInt/Double/String
types means it cannot be held in a vector and managed automatically
without unique_ptr, which is clunky and makes iterator aliases
impossible. This patch moves the unique_ptr details into DeckItem which
now behaves as if it was virtual, except it only forwards calls to its
inner, managed object (much like private implementation).

This gives the benefit of automatic/stack allocation, and no particular
drawback aside from slightly less obvious implementation. Clients can
still call get< int > on a DeckItem::double, but that was also possible
with the virtual solution (i.e. nothing lost).
2016-02-18 13:26:55 +01:00
2015-06-18 12:06:38 +02:00
2015-01-13 12:57:16 +01:00
2016-02-04 11:55:22 +01:00
Description
Common components for OPM, in particular build system (cmake).
74 MiB
Languages
C++ 79%
ECL 13.4%
Scheme 3.1%
CMake 2.4%
Python 1%
Other 1%