[haiku-commits] Re: r38427 - in haiku/trunk/headers: os/locale private/locale

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 30 Aug 2010 10:53:43 +0200

"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"? :-)

Bye,
   Axel.


Other related posts: