News for hackers. Stuff that matters.
Re:Bjarne Stroustrup – The Essence of C++ [video] by skrebbel on Tuesday September 17, 2013 @07:18AM (#6398619)

    Gadget g = new Gadget(n);
That code won't compile unless Gadget has an assignment operator that accepts a pointer, which is, well, not a very common scenario.

Note: I'm not trying to be nitpicky. I really don't understand what you mean when you write that you "want to do this".

Now, I don't know anything about you, but based off your comments in this thread I'm not sure you have a working knowledge of C++.

There are no comments on this comment yet.