Demo entry 3549426

unfriendly c++

   

Submitted by gha.st on Jan 22, 2016 at 00:11
Language: C++. Code size: 299 Bytes.

/* This is valid C++ */
auto main() -> decltype('O.o') try
<%[O_O = 0b0]<%
https://gha.st/a-tour-of-rare-cpp-features/
typedef struct o O;
o*(*((&&o(o*o))&lt;:'o':&gt;))(o*o);
if(O*O = decltype(0'0[o(0)](0))(0)) 1,000.00;
else return 0==O==0 ? throw O_O : O_O;
%>();%>
catch(...) { throw; }

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).