D - more or less power than C++?

Oskar Linde olREM at OVEnada.kth.se
Fri Mar 3 15:41:39 PST 2006


Walter Bright wrote:

> I started a new thread for this:
> 
> "Mike Capp" <mike.capp at gmail.com> wrote in message
> news:dua67i$12cr$1 at digitaldaemon.com...
>> 7. D has all (well, most of) the power of C++
> 
> I see this often and am a bit perplexed by it. What power do you feel is
> missing?

- Definable assignment/copy semantics for structs.

This (combined with end of scope destruction) allows automatic reference
counted resource handles, ownership-transferals, and more.

- And of course, implicit function template instantiation, but I trust we
will get that soon. :)

/Oskar



More information about the Digitalmars-d mailing list