We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
::template method
See a snippet from examples:
template<typename Signature> using function_ref = aa::poly_ref<aa::call<Signature>::template method>;
This is required because AnyAny works with template template parameters.
It wouldn't be required if we slightly modified the way Methods are defined.
Before:
template <typename T> struct Foo { static void do_invoke(T&) { ... } template <typename CRTP> struct plugin { void foo() const { ... } }; };
After:
struct Foo { template <typename T> static void do_invoke(T&) { ... } template <typename CRTP> struct plugin { void foo() const { ... } }; };
It has the additional benefit that it forces plugin not to depend on T, purely syntactically.
plugin
T
The text was updated successfully, but these errors were encountered:
Method now is a typename and not template typename
Sorry, something went wrong.
No branches or pull requests
See a snippet from examples:
This is required because AnyAny works with template template parameters.
It wouldn't be required if we slightly modified the way Methods are defined.
Before:
After:
It has the additional benefit that it forces
plugin
not to depend onT
, purely syntactically.The text was updated successfully, but these errors were encountered: