Switch lambda syntax over to [](){} format, to line up with C++11.
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
auto bob = fun(x) { x + 1 }
|
||||
auto bob = [](x) { x + 1 }
|
||||
assert_equal(4, bob(3));
|
||||
|
Reference in New Issue
Block a user