reference: vtable entries are resolved at runtime

This commit is contained in:
Ivan Kozik 2016-02-15 15:49:24 +00:00
parent 3a254fe4bd
commit 347a257a47

View file

@ -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.