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

Oliver Sander sander at igpm.rwth-aachen.de
Mon Jun 29 09:59:55 CEST 2015


Am 29.06.2015 um 09:41 schrieb Dune:
> THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
> 
> The following task has a new comment added:
> 
> FS#683 - Requesting value_type and unary operator-() in FieldVector.
> User who did this - Christian Engwer (christi)
> 
> ----------
> I don't think we will implement unary operators in the near future as this requires either C++11 or expression templates to avoid expensive temporaries.
> ----------

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.  :-)

Best,
Oliver


-------------- 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/a2978044/attachment.sig>


More information about the Dune-devel mailing list