Language
C++
Compiler
gcc HEAD 9.0.0 20190122 (experimental)
Options
Warnings
Boost 1.69.0
C++2a(GNU)
no pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.69.0/gcc-head/include -std=gnu++2a
Exit Code:
0
Author
anonymous
over 6 years ago
C++
gcc HEAD 9.0.0 20190122 (experimental)
Author
anonymous
over 6 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.69.0/gcc-head/include -std=gnu++2a
prog.cc: In function 'int main()':
prog.cc:10:10: warning: variable 'x' set but not used [-Wunused-but-set-variable]
10 | auto x = [](auto&&... Args){ return foo<int, int, int>(Args...); };
| ^