Skip to content

Remove the use of macros in kgr::Autocall #25

@gracicot

Description

@gracicot

Right now, to use kgr::Autocall with a relatively nice syntax, you must use a macro that expands into kgr::Method with the name of the function present two times.

With C++17, we could define kgr::AutoCall a bit like that:

template<auto... functions>
struct Autocall {
    // ...
};

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions