
8 Jun
2007
8 Jun
'07
9:14 p.m.
I guess I'l finally include it, but it'd be so much nicer if we could find a conclusive use case. I've also thought about legacy interfaces requiring raw pointers, if only we could come up with a simple specific scenario on that line.
Hi, Occasionally I want this feature, but admittedly for a fairly weak reason: Checking for NULL: if(p) ... is more convenient than checking for end: if(i == c.end()) ... If most of the time I need only to check for NULL or dereference then a pointer is more convenient. When I occasionally need to erase() then I can use iterator_to... Paul Rose