RFE: -fconcepts support for libstdc++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: gcc-help@xxxxxxxxxxx
- Subject: RFE: -fconcepts support for libstdc++
- From: Avi Kivity <avi@xxxxxxxxxxxx>
- Date: Thu, 11 Jan 2018 13:02:56 +0200
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0
C++ error messages are notoriously cryptic, but it's much worse when it
comes from someone else code.
In our code, we have a GCC6_CONCEPT(x) macro that wraps concept
declarations and is defined as x when -fconcepts is enabled. It would be
wonderful if something similar could be done to libstdc++ when
-fconcepts is enabled.
Now, the concept implementation in gcc may not match the draft standard
exactly, but gcc and libstdc++ are developed in lockstep so when the
compiler changes the library can change with it. We won't be able to
rely on concepts for disambiguating between overloads, but they'll work
well for improving the quality of diagnostics.
[Index of Archives]
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]