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
Any ideas on how one might provide a custom get function to avoid extra call to get on the named type in the following:
get
using Type1 = NamedType<int, TypeTag>; using Type2 = NamedType<double, TypeTag>; auto t = make_tuple(Type(1), Type(2.0)); auto e = get<1>(t).get();
I would prefer the following:
auto e = get<1>(t);
That way I can use the same functionality regardless of whether or not the tuple holds a named type.
The text was updated successfully, but these errors were encountered:
Would not adding the skill Callable solve this? See here.
Callable
Sorry, something went wrong.
No branches or pull requests
Any ideas on how one might provide a custom
get
function to avoid extra call to get on the named type in the following:I would prefer the following:
That way I can use the same functionality regardless of whether or not the tuple holds a named type.
The text was updated successfully, but these errors were encountered: