17 Oct
2005
17 Oct
'05
2:44 p.m.
Dear boosters, I'm trying to figure out why there is no way to define the iterator_adaptor's pointer type. I'm trying to write an iterator that concurrently accesses two containers, but the interface should look like it's only one container. Therefore, it is necessary to write my own value, reference and pointer type. However, the iterator_adaptors pointer type is always value*. Is it save to just overload the pointer typedef and reimplement operator->()? I'm not too much of a c++ expert, so if anyone could comment on that, I would greatly appreciate it. Christian