Suicidal objects
Jarrett Billingsley
kb3ctd2 at yahoo.com
Mon Dec 10 10:02:44 PST 2007
"Sean Kelly" <sean at f4.ca> wrote in message
news:fjjpgq$2t9c$3 at digitalmars.com...
> Jarrett Billingsley wrote:
>
> This thread may be relevant:
>
> http://www.digitalmars.com/d/archives/digitalmars/D/Inheriting_constructors_54088.html
>
> In short, there's no easy way to perform placement new on an existing
> class, and I view this as a deficiency. My proposal would provide one
> easy way to do so, but I still feel that making it automatic would be
> preferable.
Although I will agree that your solution is much more elegant and
straightforward. Tiny modifications that make lots of things possible are
cool. Requiring complex metaprogramming to work around deficiencies in the
language, not so much.
More information about the Digitalmars-d-learn
mailing list