3 ms·
UFCS is a bit overreaching but I think it's great for its intended use of chaining expressions on ranges and such.
by LorenDB 1y ago
UFCS is a bit overreaching but I think it's great for its intended use of chaining expressions on ranges and such.
- destructionator 1y agothat 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.