
28 Sep
2004
28 Sep
'04
1:16 p.m.
In-Reply-To: <1256163046.20040926162826@topmail.sk> I'm very dubious about using: vec.begin()->bar(); instead of: (*vec.begin())->bar(); It means that ptr_vector<T> is not syntactically a drop-in replacement for vector<T *> or vector<shared_ptr<T> >. Won't that make it unnecessarily difficult to "upgrade" existing classes, and harder to switch back again should the need arise? Doesn't it also obscure what is going on? It seems a fundamentally wrong notation to me. -- Dave Harris, Nottingham, UK