Closed
Description
Bugzilla Link | 47161 |
Version | trunk |
OS | Linux |
CC | @JohelEGP,@mydeveloperday |
Extended Description
This is how semicolons in template argument lists are formatted with the default configuration:
template <auto> struct X {};
struct Y : X < [] {
return 0;
} > {};
struct Z : X < decltype([]
{
return 0;
}){} > {};
struct W : X < requires {
ill - formed;
} > {};
These uses will become more common in C++20 thanks to the used features.