[Dune-devel] [Dune-Bugs][#683] Requesting value_type and unary operator-() in FieldVector.

Christian Engwer christian.engwer at uni-muenster.de
Mon Jun 29 10:07:01 CEST 2015


Hi Oli,

> What's so bad about C++11?  We use that all over the place.  And did you measure the impact
> of those "expensive temporaries"?  I wouldn't be surprised if you had a hard time seeing their
> effect at all.  :-)

for 2.4 we decided on compiler compatibilities which prohibit the use
of std::move _in_ the core modules. If you want to measure the impact
feel free, but std::move was introduced exactly to avoid these
temporaries, as (in many cases) the compiler can't do this for you.

Christian




More information about the Dune-devel mailing list