On 2010-08-30 at 10:53:43 [+0200], Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote: > "Clemens Zeidler" <clemens.zeidler@xxxxxxxxxxxxxx> wrote: > > Am 30.08.2010, 08:52 Uhr, schrieb <zooey@xxxxxxxxxxxxxxx>: > > > + struct Accessor; > > > + friend struct BTimeZone::Accessor; > > Is there a convention how to call a private accessor class? In the > > Messenger.h *) it called Private. Special reason why you use a struct? > > There is no convention that I know of, but we usually use Private in > other classes indeed. > "struct" is probably just programmer's laziness in order to safe a > "public"? :-) Yes, that's right :-) There's no state in there that needs to be protected, really. But I'm going to adjust to class Private in order to match (when I tried to look for examples, I didn't manage to find any - searching for 'friend' didn't occur to me at the time ...). cheers, Oliver