On Tuesday, 28 April 2015 at 02:36:38 UTC, Vladimir Panteleev wrote:
http://blog.thecybershadow.net/2015/04/28/the-amazing-template-which-does-nothing/

Thanks for this little piece of information! Great stuff. You wrote

"When building an UFCS chain (in the style of component programming), you will often run into situations where a certain operation is not UFCS-able. There are multiple obvious ways to prepend the string, but neither are very satisfactory"

And this has happened to me many times. The solution "Break the UFCS chain and use a local temporary variable" makes me angry, because by having to do so all the beauty of chaining is lost.

Reply via email to