Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 8 years ago

Language

Compiler

Options

Author

anonymous

almost 8 years ago

$
prog.cc:7:46: error: incompatible operand types ('A' and 'B')
  std::conditional<true, A, B> result = true ? A{} : B{};
                                             ^ ~~~   ~~~
1 error generated.
Exit Code:
1