Re: [PATCH] libstdc++: Make VERIFY a variadic macro

2025-07-07 Thread Tomasz Kaminski
On Wed, Jul 2, 2025 at 12:31 PM Jonathan Wakely wrote: > This defines the testsuite assertion macro VERIFY so that it allows > un-parenthesized expressions containing commas. This matches how assert > is defined in C++26, following the approval of P2264R7. > > The primary motivation is to allow e

[PATCH] libstdc++: Make VERIFY a variadic macro

2025-07-02 Thread Jonathan Wakely
This defines the testsuite assertion macro VERIFY so that it allows un-parenthesized expressions containing commas. This matches how assert is defined in C++26, following the approval of P2264R7. The primary motivation is to allow expressions that the preprocessor splits into multiple arguments, e