[Dune] [#438] Let FieldVector inherit from Dune::array
Dune
dune at dune-project.org
Fri May 8 11:04:50 CEST 2009
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#438 - Let FieldVector inherit from Dune::array
User who did this - Oliver Sander (sander)
----------
I thought that adding an assignment operator fixed the warning? I still can't believe there isn't a better way to fix this than a full specialization.
The reason that I didn't implement inheritance from std::array after all is the following. Apparently, some implementations of std::array state explicit alignment requirements that
make the array consume more memory than strictly necessary. Since we routinely use large arrays of FieldVector in memory-critical circumstances, such a waste of memory seemed intolerable. I didn't actually test this, though. Someone may want to verify my claims before we decide this.
----------
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=438#comment930
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the Dune
mailing list