[shared_ptrtest.cc] Remove fallback for compilers without nullptr
HAVE_NULLPTR is always defined to 1, so the fallback is never reached.
Intend to merge: 2018-04-25
Merge request reports
Activity
Probably. Feel free to extend this MR, or to make your own MR.
Besides running
std::shared_ptr
through an exercise course, as far as I can see the test- ensures that
Dune::shared_ptr
is present, - ensures that
Dune::make_share()
is present, - attempts to check the explicit-casting version of
stackobject_to_shared_ptr()
, although that did not trigger when removing that version in !475 (merged). I guess that could be adapted for the non-casting version instead. Also, I'm just noticing that theSHARED_PTR_COMPILE_FAIL
-part is never exercised.
I'm actually wondering why
Dune::shared_ptr
andDune::make_shared()
aren't deprecated.- ensures that
mentioned in commit ab175198
Please register or sign in to reply