Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 6 years ago

Language

C++

Compiler

gcc HEAD 9.0.1 20190422 (experimental)

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

Author

anonymous

over 6 years ago

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.68.0/gcc-head/include -std=gnu++2a
prog.cc:12:60: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Fn, class ... _ArgTypes> struct std::is_invocable'
   12 | constexpr bool test = std::is_invocable<get<T>, std::string>::value;
      |                                                            ^
prog.cc:12:60: note:   expected a type, got 'get<T>'
Exit Code:
1