[Dune] [#801] Int2Type vs. integral_constant

Dune flyspray at dune-project.org
Fri Jun 11 12:22:03 CEST 2010


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#801 - Int2Type vs. integral_constant
User who did this - Martin Nolte (nolte)

----------
Just to have some number for the discussion:

Int2Type was introduced in revision 1583 (2005-03-01)
integral_constant was introduced in revision (2010-05-28)

While I can see that the "new" integral_constant concept is more general (and includes a lot of syntactic sugar), it is also very much longer, since, e.g., Int2Type<2> becomes integral_constant<int,2>. Moreover, since integral_constant is pretty new, Int2Type will be used whereever this construct was previously needed. So, if I understand this correctly, we are talking about some code beautification (or uglification).

Before we vote on this, I would like to have someone responsible for the transition (and I don't mean just replacing the old construct by the new one but extensive testing as well as quick bug fixing).
----------

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

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