SyntaxFix
Write A Post
Hire A Developer
Questions
In C++20 this is possible using the following syntax:
auto lambda = []<typename T>(T t){ // do something };