]> https://gitweb.dealii.org/ - dealii.git/commit
Added move constructor to Subscriptor
authordanshapero <shapero.daniel@gmail.com>
Fri, 1 Apr 2016 03:53:55 +0000 (20:53 -0700)
committerdanshapero <shapero.daniel@gmail.com>
Fri, 1 Apr 2016 03:53:55 +0000 (20:53 -0700)
commit89c30cd37cc42bfac25ec3edc16b1ac1e42c6309
tree3e5bb60dfa5faf58ed58b720dbbd12989769502c
parent8207db27e2b2a8701fbfd38bd13300d04e5d3edb
Added move constructor to Subscriptor

A subscriptor can only be moved if there are no other objects
subscribing to it. This condition is already checked in a sensible
way in the destructor for Subscriptor, so rather than add a bunch
of boilerplate, the move constructor just invokes the destructor.
include/deal.II/base/subscriptor.h
source/base/subscriptor.cc

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.