Skip to content

Instantly share code, notes, and snippets.

@sasha-s
Created January 7, 2018 07:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sasha-s/6b0e0875ad561503fced893722e4ab8f to your computer and use it in GitHub Desktop.
Save sasha-s/6b0e0875ad561503fced893722e4ab8f to your computer and use it in GitHub Desktop.
include <iostream>
using namespace std;
void operator"" _y(decltype(0ull)) {
if (++errno == 501) {
return;
}
cout << ++cin.iword(99) << " ";
0_y;
cerr << 500 - (*reinterpret_cast<uint32_t*>(&clog.pword(100)))++ << " ";
}
int main() { 1_y; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment