0_0_38556377_18831.cpp:29:38: error: expected primary-expression before 'auto'
template<class ...Args> decltype(auto) operator()(Args &&...args) { return fun_(std::ref(*this), std::forward<Args>(args)...); }
^
0_0_38556377_18831.cpp:29:38: error: expected ')' before 'auto'
0_0_38556377_18831.cpp:29:29: error: expected unqualified-id before 'decltype'
template<class ...Args> decltype(auto) operator()(Args &&...args) { return fun_(std::ref(*this), std::forward<Args>(args)...); }
^
0_0_38556377_18831.cpp:31:30: error: expected primary-expression before 'auto'
template<class Fun> decltype(auto) y_combinator(Fun &&fun) { return y_combinator_result<std::decay_t<Fun>>(std::forward<Fun>(fun)); }
^
0_0_38556377_18831.cpp:31:30: error: expected ')' before 'auto'
0_0_38556377_18831.cpp:31:21: error: expected unqualified-id before 'decltype'
template<class Fun> decltype(auto) y_combinator(Fun &&fun) { return y_combinator_result<std::decay_t<Fun>>(std::forward<Fun>(fun)); }
^
0_0_38556377_18831.cpp: In lambda function:
0_0_38556377_18831.cpp:73:20: error: expected unqualified-id before '[' token
for (auto &[v, _]: adj[u]) {
^
0_0_38556377_18831.cpp:73:20: error: expected ';' before '[' token
0_0_38556377_18831.cpp:73:21: error: 'v' was not declared in this scope
for (auto &[v, _]: adj[u]) {
^
0_0_38556377_18831.cpp:73:24: error: '_' was not declared in this scope
for (auto &[v, _]: adj[u]) {
^
0_0_38556377_18831.cpp: In lambda function:
0_0_38556377_18831.cpp:73:26: error: expected '{' before ':' token
for (auto &[v, _]: adj[u]) {
^
0_0_38556377_18831.cpp: In lambda function:
0_0_38556377_18831.cpp:73:26: error: expected ';' before ':' token
0_0_38556377_18831.cpp:73:26: error: expected primary-expression before ':' token
0_0_38556377_18831.cpp:73:26: error: expected ')' before ':' token
0_0_38556377_18831.cpp:73:26: error: expected primary-expression before ':' token
0_0_38556377_18831.cpp: In function 'void work()':
0_0_38556377_18831.cpp:79:6: error: 'y_combinator' was not declared in this scope
})(A);
^
|