#1498 Add Dune::Std::make_unique
Metadata
Property | Value |
---|---|
Reported by | Carsten Gräser (graeser@math.fu-berlin.de) |
Reported at | Sep 26, 2014 22:01 |
Type | Discussion |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Last edited by | Carsten Gräser (graeser@math.fu-berlin.de) |
Last edited at | Oct 14, 2014 13:05 |
Closed by | Carsten Gräser (graeser@math.fu-berlin.de) |
Closed at | Oct 14, 2014 13:05 |
Closed in version | 2.4 |
Resolution | Implemented |
Comment | Accepted by vote and implemented in a53989d. |
Description
Since we make more use of unique_ptr now having make_unique would make code more readable. Unfortunately this is not even c++11 but c++14.
I propose to implement it as Dune::Std::make_unique in 2.4 (see attached).