3 ms·
Also, never forget, the C++ Multi-Dimensional Analog Literals: assert( ( o-------------o |L \ | L \
by TeMPOraL 9y ago
Also, never forget, the C++ Multi-Dimensional Analog Literals:
assert( ( o-------------o
|L \
| L \
| L \
| o-------------o
| ! !
! ! !
o | !
L | !
L | !
L| !
o-------------o ).volume == ( o-------------o
| !
! !
! !
o-------------o ).area * int(I-------------I) );
http://www.eelis.net/C++/analogliterals.xhtml http://www.eelis.net/C++/analogliterals.xhtml
- Longhanks 9y agoThis is some serious black magic. I cannot wrap my head around the fact that this is valid C++...
- blattimwind 9y agoThese are "just" some free symbols (o, I, L) used with overloaded operators (!, |, --). The rest is pretty formatting with whitespace which isn't relevant to functionality.