Skip to content

book: hard-to-read paragraph in Trait Objects chapter #25956

@tshepang

Description

@tshepang

I don't understand the paragraph at the end of this page:

If b or y were owning trait objects (Box), there would be a (b.vtable.destructor)(b.data) (respectively y) call when they went out of scope.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions