[Gc] Re: C++ API enhancement proposal

Larry Evans cppljevans at cox-internet.com
Mon Oct 15 05:02:19 PDT 2007

On 05/11/07 13:18, skaller wrote:
> BTW: you might look at how Felix does this. The call for gc object
> construction is:
> 	new (gc, shape<X>) X(args)
> Here 'gc' is the collector, and 'shape<X>' is the data needed by the
> collector to find the pointers in an X. Clearly in your proposal,
> this information is synthesised by the compiler for an exact collector,
> or simply not necessary for a conservative one.

So in Felix, is shape<X> determined by the compiler?  I've not
heard of a c++ compiler which provides this.

More information about the Gc mailing list