Mercurial > projects > ldc
view lphobos/std/c/stddef.d @ 554:1b702422451c
Always call finalizer for stack classes. Checking for the number of
destructors of the class type is not sufficient: we may be holding a derived
class with a destructor.
Fixes: run/auto_07
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 28 Aug 2008 20:17:21 +0200 |
parents | c53b6e3fe49a |
children |
line wrap: on
line source
/** * C's <stddef.h> * Authors: Walter Bright, Digital Mars, www.digitalmars.com * License: Public Domain * Macros: * WIKI=Phobos/StdCStddef */ module std.c.stddef; version (Win32) { alias wchar wchar_t; } else version (linux) { alias dchar wchar_t; } else { static assert(0); }