Disable GC entirely

Jacob Carlborg doob at me.com
Mon Apr 8 02:15:49 PDT 2013


On 2013-04-08 09:53, Dicebot wrote:

> Both blessing and curse of UDA's is that they are not part of type and
> thus mangling.

Can't you just annotate a type:

class Foo { }

struct ThreadSafe (T)
{
     T t;
}

ThreadSafe!(Foo) foo;

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list