1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Clarify wording in the new traits section.

Revisiting it today I realised that I'd written 'implementation
structure' where I meant 'instance structure'.
This commit is contained in:
Simon Tatham 2021-01-17 09:15:30 +00:00
parent f7adf7bca0
commit 6fc0eb29ac

View File

@ -669,8 +669,9 @@ late as you like which vtable to pass to it.
}
\b The \e{implementation} structure can also contain publicly visible
data fields (this time, usually treated as mutable). For example,
\b The abstract \e{instance} structure can also contain publicly
visible data fields (this time, usually treated as mutable) which are
common to all implementations of the trait. For example,
\cw{BinaryPacketProtocol} has lots of these.
\b Not all abstractions of this kind want virtual constructors. It