Skip to content

Commit 191af53

Browse files
BillWagnerjskeet
authored andcommitted
Item 26: §19.6.8 "class or struct" → "class"
Change "the class or struct" to "the class" — structs cannot be abstract.
1 parent fc25f53 commit 191af53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

standard/interfaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1463,7 +1463,7 @@ When a class implements an interface, it implicitly also implements all that int
14631463
14641464
### 19.6.8 Abstract classes and interfaces
14651465
1466-
Like a non-abstract class, an abstract class shall provide implementations for all abstract members of the interfaces that are listed in the base class list of the class or struct which do not have a reachable implementation; where an implementation can become unreachable due to reabstraction19.4.3](interfaces.md#1943-interface-methods). However, an abstract class is permitted to map interface methods onto abstract methods.
1466+
Like a non-abstract class, an abstract class shall provide implementations for all abstract members of the interfaces that are listed in the base class list of the class which do not have a reachable implementation; where an implementation can become unreachable due to reabstraction19.4.3](interfaces.md#1943-interface-methods). However, an abstract class is permitted to map interface methods onto abstract methods.
14671467
14681468
> *Example*:
14691469
>

0 commit comments

Comments
 (0)