Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Lambda decltype
//More restrict
auto f2 = [&b](auto v) -> decltype(v*b) {
return v*b;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment