#421 dune_static_assert(false, "bla") does not work
Metadata
Property | Value |
---|---|
Reported by | Markus Blatt (markus@dr-blatt.de) |
Reported at | Aug 4, 2008 09:28 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Last edited by | Markus Blatt (markus@dr-blatt.de) |
Last edited at | Aug 13, 2008 09:14 |
Closed by | Markus Blatt (markus@dr-blatt.de) |
Closed at | Aug 13, 2008 09:14 |
Closed in version | Unknown |
Resolution | Won't fix |
Comment | There seems to be no way to implement it. Even in boost this is not better. |
|
Description
I get the following error
error: invalid application of sizeof to incomplete type static_assert_failure
if I try to always trigger a compiler error by
dune_static_assert(false, "Message"),
I suppose that is not intended behaviour.