This C++ Syntax Has Been Deprecated by the Standard

This C++ Syntax Has Been Deprecated by the Standard

Last year, I specifically introduced the extremely rare C++ syntax <span>……</span> in the article “What does the …… mean in C++?” which is actually an abbreviated syntax for <span>…, …</span>. The following three forms are completely equivalent: template<class… Args> void f(Args……) {} template<class… Args> void f(Args… …) {} template<class… Args> void f(Args…, …) {} The … Read more

Revolutionizing Rust Function Syntax: Moving Towards a More Concise Declaration Style?

Revolutionizing Rust Function Syntax: Moving Towards a More Concise Declaration Style?

About Rust Function Syntax This article presents some thoughts on aspects that were not deeply considered during Rust’s early days, hoping to inspire those who are creating new languages. First, let’s discuss the existing <span>fn</span> syntax. Rust excels in many areas, allowing various elements to integrate well together. Although it is not a small language, … Read more