[Dune] [#587] GenericReferenceElements should use unsigned for indices, sizes etc.
Dune
dune at dune-project.org
Thu Aug 20 16:04:46 CEST 2009
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#587 - GenericReferenceElements should use unsigned for indices, sizes etc.
User who did this - Atgeirr Flø Rasmussen (atgeirr)
----------
I think it is unfortunate to use unsigned types everywhere. Even if the quantities in question are always nonnegative, such as codimensions, we may still want to take differences of them or count backwards to zero etc. I suggest just using int all over the place. Of course, this may be a controversial issue, and I do not want to start a flame war...
Other advantages of int include readability and brevity (at least compared to std::size_t).
Atgeirr
----------
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=587#comment1019
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