12 lines
147 B
C++
12 lines
147 B
C++
template <typename F>
|
|
void consume(int, F) {
|
|
}
|
|
void run() {
|
|
consume(
|
|
1,
|
|
[=](
|
|
int first,
|
|
int second) {
|
|
return first + second;
|
|
});
|
|
}
|