8000 Rename `invoke` · Issue #84 · libfn/functional · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Rename invoke #84
Open
Open
@Bronek

Description

@Bronek

The implementation of discriminated union relies on std::invoke (i.e. without multi-dispatch) for the purpose of implementing invoke, which demonstrates that we should not try to add multi-dispatch to std::invoke. Basically invoke (with multi-dispatch) has proven to be higher level than std::invoke, hence the former name is wrong (or confusing, at least).

This implies that what we currently call invoke should be called something else, perhaps apply or a new function dispatch. This also applies to member functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0