[Dune] [#819] Remove enum FieldVector::size

Dune flyspray at dune-project.org
Mon Sep 13 14:17:50 CEST 2010


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#819 - Remove enum FieldVector::size
User who did this - Markus Blatt (mblatt)

----------
Maybe the originator could comment on it.

It seems like the name of size was formerly n and contained the size of the internal array (always bigger than zero).

svn reveals the originator ;)

r4304 | oliver | 2006-03-09 16:57:11 +0100 (Do, 09 Mär 2006) | 10 lines
Changed paths:
   M /trunk/common/fvector.hh

Cleaned up the mechanism that lets FieldVectors have size 1 internally
when they're instantiated with size 0.

WARNING: this patch contains a tiny semantic change: the public enum
size, which used to contain the internal size of the FieldVector now
contains the size that the vector was instantiated with.  This must
be so because the internal size is an implementation details should
be invisible from the outside.  As long as you didn't work with
size 0 FieldVectors it doesn't matter anyways.
----------

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=819#comment2149

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