On Fri, Oct 5, 2012 at 9:08 AM, _ <neura...@gmail.com> wrote: > > I thing it would be best to implement it as compiller switch -fsmart-pointers > not requiring scope object and derive statement for objects. ie we > need equal flexibility and freedom like have today with static objects
Experience shows us that programmers want several different types of smart pointers in practice. I don't see any reason to enshrine a particular variant in the compiler. Particularly when C++ already supports smart pointers. (For example, your variant of smart pointers doesn't seem to help with pointers in struct fields, when those structs are stored in the heap.) Ian