[Bug c++/68434] [concepts] ICE: same canonical type node for different types
Casey at Carter dot net
gcc-bugzilla@gcc.gnu.org
Sun Nov 29 04:03:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68434
Casey Carter <Casey at Carter dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Casey at Carter dot net
--- Comment #4 from Casey Carter <Casey at Carter dot net> ---
> I hit the issue today when compiling the cmcstl2 lib.
If you want to see ICEs from deduction constraints, change the "#if 0" to 1 on
line 83 of include/stl2/detail/fwd.hpp so that the STL2_DEDUCTION_CONSTRAINT
macro emits actual deduction constraint syntax instead of "requires
Concept<decltype(expression), ...>". I've had to avoid deduction constraints
completely to get compiling code.
I'm not complaining - C++11/14 bugs *should* take priority over [concepts] -
but I would be willing to buy beer for whomever fixes the deduction constraint
bugs so that I could stop using the preprocessor.
More information about the Gcc-bugs
mailing list