]> https://gitweb.dealii.org/ - dealii.git/commit
Base std_cxx11::unique_ptr on boost::scoped_ptr.
authorDavid Wells <drwells@vt.edu>
Mon, 8 Jun 2015 03:16:00 +0000 (23:16 -0400)
committerDavid Wells <drwells@vt.edu>
Mon, 8 Jun 2015 03:16:00 +0000 (23:16 -0400)
commitb3e6f5483fdad6c7542efb4bf6c9facfcfe5e588
treecbbacdad6e7b635a52baa75ab488c39e9460b297
parentc05b96362a31a8e472c29d1b2b6d7d23a058c7c9
Base std_cxx11::unique_ptr on boost::scoped_ptr.
Previously this class was a wrapper around boost::shared_ptr, which
requires one more memory allocation than boost::scoped_ptr. The
scoped_ptr class is more restrictive (it cannot be copied or moved) than
unique_ptr (which cannot be copied but can be moved), but non-C++11
compilers do not have move semantics anyway.
include/deal.II/base/std_cxx11/unique_ptr.h

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.