This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
This patch applies inline to all namespace scope const variables according to options A and B2 voted in during the Kona meeting, see: http://wiki.edg.com/pub/Wg21kona2017/StrawPolls/p0607r0.html During that work it has been found that std::ignore was not declared constexpr (http://cplusplus.github.io/LWG/lwg-defects.html#2773), which was fixed as well. The patch suggests to apply the same fix to implementation-private constants such as __index_of_v, for example, as well. Due to the large number of affected variables in header include/bits/regex_constants.h and include/type_traits, I used a shortened description of the changes in the ChangeLog instead of enumerating each constant individually, I hope that this is ok. Please note that I added the newly introduced _GLIBCXX17_INLINE also to the commented references of hardware_destructive_interference_size and hardware_constructive_interference_size in testsuite/18_support/headers/new/synopsis.cc as a reminder when these constants will be introduced in the future. This patch is *untested*, because I cannot make the tests run on my Windows system. - Daniel
Attachment:
ChangeLog_p0607r0.patch
Description: Binary data
Attachment:
p0607r0.patch
Description: Binary data
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |