Skip to content

FooReference is called Foo::AddRef in COM and therefore also in DirectX, Blink, and Gecko #198

@kdashg

Description

@kdashg

AddRef and Release are what I would call the standard names in industry because of those and the value of interoperability with them.

It can't be renamed without breaking literally any users of this header though. :)
Ideally it'd be nicer to go back in time and change it, but an alias is probably the next best thing.
(maybe even a deprecation marker on Reference?)

Cc @Kangz

Metadata

Metadata

Assignees

No one assigned

    Labels

    has resolutionIssue is resolved, just needs to be donenamingBikeshedding names

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions