Last update April 17, 2012

Easter Eggs



Difference (last change) (no other diffs, normal page display)

Changed: 4,5c4,5
** DMD 0.160, discovered by Markus Dangl.
** Documented in DMD 0.161.
** DMD 0.160, discovered by Markus Dangl.
** Documented in 0.161.

Added: 11a12,13

* __argTypes, used for 64 bit varargs. Documented only in lexer.c

Many undocumented and/or unannounced features have appeared in releases of the DMD compiler.

  • short form for function template declaration. void f(A)(A x) {...}
  • implicit array properties. int f(int[] arr) can be called as arr.f
  • non-greedy regexp matching. "a*?" performs non-greedy matching of a.
  • stringof. DMD 1.005. Documented but unannounced.
  • __argTypes, used for 64 bit varargs. Documented only in lexer.c

FrontPage | News | TestPage | MessageBoard | Search | Contributors | Folders | Index | Help | Preferences | Edit

Edit text of this page (date of last change: April 17, 2012 10:32 (diff))