Skip to content

Conversation

@gchatelet
Copy link
Contributor

@gchatelet gchatelet commented Sep 8, 2023

@github-actions github-actions bot added the libc label Sep 8, 2023
@gchatelet gchatelet changed the title Add invoke [libc] Add invoke Sep 8, 2023
};

template <class F, class... Args, class Fd = typename cpp::decay_t<F>>
auto INVOKE(F &&f, Args &&...args)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this all caps?

Copy link
Contributor Author

@gchatelet gchatelet Sep 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a concept defined by the standard "23.14.3 [func.require]". INVOKE (all caps) serves as a foundation for defining std::invoke and std::invoke_result.

@gchatelet
Copy link
Contributor Author

Will be implemented in #65750

@gchatelet gchatelet closed this Sep 13, 2023
@gchatelet gchatelet deleted the invoke branch September 13, 2023 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants