3 ms·
One of the most magnificent abuses of operator overloading ever: multi-dimensional analog literals (http://www.eelis.net/C++/analogliterals.xhtml http://www.eel
by Sharlin 3y ago
One of the most magnificent abuses of operator overloading ever: multi-dimensional analog literals (http://www.eelis.net/C++/analogliterals.xhtml http://www.eelis.net/C++/analogliterals.xhtml)
- gumby 3y agoTruly marvellous!
- Q6T46nT668w6i3m 3y agoI don’t hate this! The author is, despite their sarcasm, correct—sometimes integers are insufficiently expressive. It’s the C++ equivalent of geometry in the Wolfram Language.
- layer8 3y agoThis could potentially be extended to UML diagrams to express program logic (or at least to generate SVG versions).
- rramadass 3y agoWhaaaaat? Jesus! Some people are just too creative; i am almost afraid to test out the code.