Can we change some constexpr
functions to consteval
in C++20 and later?
#3604
-
Some It seems that the only difference happens on taking address. However, most standard library function are made non-addressable by WG21-P0551R3 in C++20, so ill-formedness on taking address seems OK. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@CaseyCarter says "this seems very scary, purely from a new-compiler-technology point of view". As Casey is historically the most aggressive "yay new compiler features let's use them and they'll be awesome! 🦄" maintainer, and STL is the most cautious and curmudgeonly "ugh new compiler features, that looks like a great way to discover exotic compiler bugs ☠️", caution seems especially warranted here 😹 |
Beta Was this translation helpful? Give feedback.
@CaseyCarter says "this seems very scary, purely from a new-compiler-technology point of view". As Casey is historically the most aggressive "yay new compiler features let's use them and they'll be awesome! 🦄" maintainer, and STL is the most cautious and curmudgeonly "ugh new compiler features, that looks like a great way to discover exotic compiler bugs ☠️", caution seems especially warranted here 😹