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

Oliver Sander sander at igpm.rwth-aachen.de
Mon Jun 29 10:11:51 CEST 2015


Am 29.06.2015 um 10:07 schrieb Christian Engwer:
> 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. 

Sure, but that doesn't prevent us from using it _after_ 2.4?


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
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20150629/d44deb34/attachment.sig>


More information about the Dune-devel mailing list