Stroustrup's talk on C++0x
Walter Bright
newshound1 at digitalmars.com
Thu Aug 23 22:35:56 PDT 2007
Bill Baxter wrote:
> The things that have me banging my head most often are
> 1) the few things preventing an implementation of smart pointers
> [destructors, copy constructors and opDot]. There are some cases where
> you just want to refcount objects. This is the one hole in D that I
> haven't heard any reasonable workaround for. I don't necessarily _want_
> copy constructors in general but they seem to be necessary for
> implementing automatic reference counting.
> 2) lack of a way to return a reference.
> 3) From what I can tell "const ref" doesn't work for parameters in D
> 2.0. Oh, and
> 4) real struct constructors. Just a syntactic annoyance, but still an
> annoyance.
These will all be addressed in 2.0.
More information about the Digitalmars-d
mailing list