You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for generic lambda with explicit type list (#349)
Currently cppfront process the following code:
```cpp
main: () = {
g := :<T> () = { v := 0; };
}
```
And generates:
```cpp
auto main() -> int{
auto g {template <typename T> []() -> void{auto v {0}; }};
}
```
After this change cppfront will generate:
```cpp
auto main() -> int{
auto g {[]<typename T>() -> void{auto v {0}; }};
}
```
Closes: #346. All regression tests pass.
0 commit comments