[Dune] [#421] dune_static_assert(false, "bla") does not work

Dune dune at dune-project.org
Wed Aug 13 11:07:54 CEST 2008


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#421 - dune_static_assert(false, "bla") does not work
User who did this - Christian Engwer (christi)

----------
1) The string will only appear if the c++ static_assert language feature is available. There is no wy to display the message in other situations.
2) The implementation of dune_static_assert was changed, in order to allow static_asserts in the class body, not only in functions, as it is possible with static_assert. The implementation follows the proposal for boost static_assert. If you come up with a better implementation I'm happy.
3) IsTrue did also did not show the condition. With IsTrue the error message looked like:
   "yes is not a member of IsTrue<false>"
   regardless of the condition.
----------

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

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