▲ | LorenDB 2 days ago | |
UFCS is a bit overreaching but I think it's great for its intended use of chaining expressions on ranges and such. | ||
▲ | destructionator 2 days ago | parent [-] | |
that actually wasn't its intended use; that's a side effect. The original intended use came from Effective C++ by Scott Meyers: "Prefer non-member non-friend functions to member functions.". It was meant to make that as syntactically appealing as the members. |