Boost logo

Boost :

From: Jeff Garland (jeff_at_[hidden])
Date: 2004-12-05 17:24:24


On Sun, 05 Dec 2004 15:57:35 +0100, Roland Schwarz wrote
> ... snip details...
>
> As a byproduct of my current work I factored out a small utility
> library that implements a virtual constructor.

I'm interested in seeing something like this in boost...

Question -- will this compile in your implementation?

     square* ps4 = dynamic_new<square>("square", 10.0);

as well as:

     shape* ps4 = dynamic_new<shape>("square", 10.0);

Jeff


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk