"Simen Kjaeraas" <[email protected]> wrote in message 
news:[email protected]...
> On Wed, 17 Dec 2008 23:45:55 +0100, Nick Sabalausky <[email protected]> wrote:
>
>> I think Andrei has previously suggested the idea of dropping the keyword
>> "new" from class instantiations / heap allocations. I wouldn't like that.
>> The "new" makes class instantiations / heap allocations easily 
>> greppable. I
>> don't think I would want to give that up.
>
> IIRC, the idea was to replace it with a member function, i.e. foo.new();
>

I was under the impression it was about changing this:

class Foo {}
auto f = new Foo();

To this:

class Foo {}
auto f = Foo();

Maybe I was mistaken though. 


Reply via email to