File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -997,15 +997,15 @@ $(GNAME Allocator):
997
997
$(P A class member function of the form:)
998
998
999
999
------
1000
- new(uint size)
1000
+ new(size_t size)
1001
1001
{
1002
1002
...
1003
1003
}
1004
1004
------
1005
1005
1006
1006
is called a class allocator.
1007
1007
The class allocator can have any number of parameters, provided
1008
- the first one is of type uint .
1008
+ the first one is of type `size_t` .
1009
1009
Any number can be defined for a class, the correct one is
1010
1010
determined by the usual function overloading rules.
1011
1011
When a new expression:
@@ -1031,7 +1031,7 @@ class Foo
1031
1031
{
1032
1032
this(string a) { ... }
1033
1033
1034
- new(uint size, int x, int y)
1034
+ new(size_t size, int x, int y)
1035
1035
{
1036
1036
...
1037
1037
}
You can’t perform that action at this time.
0 commit comments