[Dune] [#421] dune_static_assert(false, "bla") does not work
Dune
dune at dune-project.org
Wed Aug 13 10:40:07 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 - Markus Blatt (mblatt)
----------
No it does not!
I thought static_assert is intended to replace IsTrue as the latter is deprecated. Therefore I would suppose to
get a meaningful error message. I do not consider "error: invalid application of sizeof to incomplete type static_assert_failure<false>"
a meaningful error message.
Shouldn't the Message appear somewhere? If not what is the advantage against using IsTrue?
With IsTrue at least the condition appeared in the error message
----------
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=421#comment493
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