On Thu, 11 Sept 2025 at 13:18, Jonathan Wakely wrote: > > These _S_noexcept() functions are only used in noexcept-specifiers and > never need to be called at runtime. They can be immediate functions, > i.e. consteval.
I forgot to mention that this only changes the cases that are in C++20 or later code. There are similar functions elsewhere, like allocator_traits::_S_nothrow_construct(), but those are used in C++11 so can't be consteval.
