Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 6 years ago

Language

C++

Compiler

gcc HEAD 9.0.0 20190122 (experimental)

Options
Warnings
Boost 1.69.0
C++2a(GNU)
no pedantic

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...); };
      |          ^
Exit Code:
0