Alfredo Braunstein <[EMAIL PROTECTED]> writes:
>> friend the whole PosIterator class so that forward delcaration will
>> work?
>
| Uh? What forward declaration?
the one that you are going to add.
| friend only the function in question (a contructor) would be ok?
well... yes... I am not sure if the declaration needs to be visible or
not. If it needs to be visible you could befriend the whole class
instead.
| Does it
| mean I have to include the PosIterator.h file in the header? That would be
| bad...
agree, that would be bad.... but having PosIterator function
definitions spread over several files is IMHO worse.
--
Lgb