On Saturday, 20 September 2014 at 13:49:58 UTC, Marco Leise wrote:
Am Sat, 20 Sep 2014 06:32:38 +0000
schrieb "Vladimir Panteleev" <[email protected]>:

On Saturday, 20 September 2014 at 04:52:58 UTC, Andrei Alexandrescu wrote:
> [snip]

Um, why not use __FILE__ / __LINE__ (as default values for template parameters) as cookies?

It has this nasty imperfection that it breaks as soon as you
define two Typedefs on the same line. Which noone ever does
except maybe for an obfuscated coding scenario, but still it
raises my OCD level.

We could introduce __COLUMN__ trivially now that DMD tracks column numbers :)

Reply via email to