3 ms·
“fn... fn...” - No, that doesn’t sound like C++, at all.
by Koshkin 7y ago
“fn... fn...” - No, that doesn’t sound like C++, at all.
- dtolnay 7y agoFn is spelled differently than auto but it sounds more like C++ than you might think. // C++ auto f() -> int32_t { return 1; } // Rust fn f() -> i32 { return 1; }
- Iwan-Zotow 7y ago#define fn auto
- Koshkin 7y agoNot a good idea: fn i = 0;