reference: vtable entries are resolved at runtime
This commit is contained in:
parent
3a254fe4bd
commit
347a257a47
1 changed files with 1 additions and 1 deletions
|
|
@ -3565,7 +3565,7 @@ Each instance of a trait object includes:
|
|||
implementation (i.e. a function pointer).
|
||||
|
||||
The purpose of trait objects is to permit "late binding" of methods. A call to
|
||||
a method on a trait object is only resolved to a vtable entry at compile time.
|
||||
a method on a trait object is only resolved to a vtable entry at runtime.
|
||||
The actual implementation for each vtable entry can vary on an object-by-object
|
||||
basis.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue