Skip to content

Instantly share code, notes, and snippets.

/*
* decltype(int) isn't legal. This typeof macro gives us something portable (>= C++11),
* which looks and feels like decltype, except that typeof(int) == typeof(0).
*
* It's implemented using an ambiguity between a unary operator+ and a cast vs
* a binary operator+.
*
* Since everything is an unevaluated context we don't need to supply definitions of
* any operators for this to work.
*
// ==UserScript==
// @name More flag decline options
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match http://stackoverflow.com/admin/dashboard*
// @grant none
// ==/UserScript==
/* jshint -W097 */