Skip to content

Commit 22e2ef1

Browse files
committed
Update 2015-01-17-release-5.6.0.markdown
1 parent 7748ea7 commit 22e2ef1

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

_posts/2015-01-17-release-5.6.0.markdown

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,8 @@ tags: release
77
### Changes since 5.5.1
88
* Throw exception on integer divide by 0
99
* Add optional type specification to function declarations
10-
11-
```
12-
def func(int i, j, double k) {
13-
// i must be an int.
14-
// j can be anything
15-
// k must be a double
16-
// normal conversion rules still apply
17-
}
18-
```
1910
* Many minor fixes for compiler warnings
2011
* Add support for `std::future` and `std::async`
21-
```
22-
var f := async(someFunction);
23-
var f2 := async(someFunction2);
24-
25-
// someFunction and someFunction2 are running in parallel now
26-
f.get();
27-
f2.get();
28-
```
2912
* Fully support r-value returns, supporting move-only objects and reducing object copies
3013

3114

0 commit comments

Comments
 (0)