File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -831,7 +831,7 @@ members of the type, while methods can only be called on instances.
831
831
#### Class functions
832
832
833
833
A class function is like a
834
- [ C++ static member function or method ] ( < https://en.wikipedia.org/wiki/Static_(keyword)#Static_method > ) ,
834
+ [ C++ static member function] ( https://en.cppreference.com/w/cpp/language/static#Static_member_functions ) ,
835
835
and is declared like a function at file scope. The declaration can include a
836
836
definition of the function body, or that definition can be provided out of line
837
837
after the class definition is finished. A common use is for constructor
Original file line number Diff line number Diff line change @@ -459,7 +459,7 @@ class Point4b {
459
459
return {.x = a.x * v, .y = a.y * v};
460
460
}
461
461
}
462
- alias Add = Vector.Add; // Syntax TBD
462
+ alias Add = Vector.Add;
463
463
}
464
464
465
465
// OR:
@@ -1079,8 +1079,8 @@ other type-of-types, independent of order.
1079
1079
Note that we do _ not_ consider two type-of-types using the same name to mean the
1080
1080
same thing to be a conflict. For example, combining a type-of-type with itself
1081
1081
gives itself, ` MyTypeOfType & MyTypeOfType == MyTypeOfType ` . Also, given two
1082
- [ interface extensions] ( #interface-extension ) of a common base interface, the sum
1083
- should not conflict on any names in the common base.
1082
+ [ interface extensions] ( #interface-extension ) of a common base interface, the
1083
+ combination should not conflict on any names in the common base.
1084
1084
1085
1085
** Rejected alternative:** Instead of using ` & ` as the combining operator, we
1086
1086
considered using ` + ` ,
You can’t perform that action at this time.
0 commit comments