Language
C++
Compiler
gcc HEAD 14.0.0 20231230 (experimental)
Options
Warnings
Don't Use Boost
C++2b(GNU)
no pedantic
$ g++ prog.cc -Wall -Wextra -std=gnu++2b
P p{1,2,3}
P(initializer_list<int>)
i=1 j=2 k=3
P p2={4,5}
P(initializer_list<int>)
i=4 j=5 k=0
Exit Code:
0