On 7/3/24 10:37 AM, Jakub Jelinek wrote:
+#if __cpp_lib_constexpr_new >= 202406L +# define _GLIBCXX_PLACEMENT_CONSTEXPR constexpr +#else +# define _GLIBCXX_PLACEMENT_CONSTEXPR inline +#endif
I'm a bit curious why you want constexpr *or* inline rather than leaving the inline keyword on the declaration and maybe adding constexpr. The effect should be the same either way, so just wondering.
Jason