
On Mon, Nov 7, 2011 at 12:20 AM, Andrey Semashev <andrey.semashev@gmail.com> wrote:
char a[128] char* p = a; Is sizeof(a) == sizeof(p)? Array and pointer were synonyms, right?
Come on. We were talking of dynamic arrays, weren't we?
That's not what you said. You also 'conviniently' skipped the operator[] argument.
I feel this is going nowhere. You clearly prefer to sacrifice interface clarity to less typing. Sorry, I don't share your point. Seeing other comments, it is clear to me that many other people are also against the
Many? I haven't seen a single one that could show real world code that'd be affected by the ambiguity. Haven't seen more arguments than 'let's just copy make_shared' either.
change. If you're feeling strong about this, my suggestion is to create a separate component and leave the current smart pointers as they are. I'm sure
Might be a good idea. -- Olaf