Language
Compiler
Options
$
noexcept: 1
terminate called after throwing an instance of 'std::runtime_error'
what(): sorry
Signal:
Aborted
Author
anonymous
about 7 years ago
Author
anonymous
about 7 years ago
$
In file included from prog.cc:1:
outcome.hpp: In instantiation of 'void outcome_v2_f1696316::result<R, S, NoValuePolicy>::swap(outcome_v2_f1696316::result<R, S, NoValuePolicy>&) [with R = nx::X; S = std::error_code; NoValuePolicy = outcome_v2_f1696316::policy::error_code_throw_as_system_error<nx::X, std::error_code, void>]':
outcome.hpp:5535:3: required from 'void outcome_v2_f1696316::swap(outcome_v2_f1696316::result<R, S, T>&, outcome_v2_f1696316::result<R, S, T>&) [with R = nx::X; S = std::error_code; P = outcome_v2_f1696316::policy::error_code_throw_as_system_error<nx::X, std::error_code, void>]'
prog.cc:30:14: required from here
outcome.hpp:5502:7: warning: throw will always call terminate() [-Wterminate]
throw;
^~~~~
noexcept: 1
terminate called after throwing an instance of 'std::runtime_error'
what(): sorry