Stroustrup's talk on C++0x

Bill Baxter dnewsgroup at billbaxter.com
Fri Aug 24 01:20:28 PDT 2007


Walter Bright wrote:
> 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.

Hot diggity.  Looking forward to it.

--bb



More information about the Digitalmars-d mailing list