Uniform function call syntax: Difference between revisions

Content deleted Content added
Citation bot (talk | contribs)
Removed parameters. | Use this bot. Report bugs. | Suggested by Jay8g | Category:CS1 maint: url-status | #UCB_Category 487/711
In D the braces are usually dropped when UFCS acts like a member variable: https://dlang.org/spec/function.html#pseudo-member
Line 27:
// all the following are correct and equivalent
int b = first(a);
int c = a.first();
 
// chaining