d > rust

monkyyy crazymonkyyy at gmail.com
Wed Jun 24 02:36:12 UTC 2026


I brought up this code block in a meta-programming discord

```d
template staticCurry(alias F,Args...){
template staticCurry(S...){
     auto staticCurry(T...)(T t)=>F!(Args,S)(t);
}}
```

apparently its very very hard in c++ and impossible for rust to 
replicate; feel free to use it in any future arguments


More information about the Digitalmars-d mailing list