Skip to content

Commit

Permalink
Updating documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLat committed Jul 3, 2015
1 parent 070da65 commit eacb9e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Dynamic arrays can be declared like this:
```
Pointer<object, 1> Variable;
```
You can replace the number with any number, though must be a constant and must be greater than 0. This number will be the initial size of the array. TODO: Handle dynamic arrays of length 0.
You can replace the number with any number, though must be a constant and must be positive. This number will be the initial size of the array. If this number is 0, it will be treated as a null pointer and can't be allocated.
```
T& operator[] (int i)
```
Expand Down

0 comments on commit eacb9e3

Please sign in to comment.