[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Byte order conversions
From:       Richard Smith <kde () metafoo ! co ! uk>
Date:       2004-10-27 16:29:50
Message-ID: 200410271729.50796.kde () metafoo ! co ! uk
[Download RAW message or body]

On Wednesday 27 October 2004 14:13, Rüdiger Knörig wrote:
> Am Mittwoch, 27. Oktober 2004 15:29 schrieb Richard Smith:
> > On Wednesday 27 October 2004 14:14, Thiago Macieira wrote:
> > > BTW, in your ConvertEndianness class, why does it have a virtual
> > > destructor? For that matter, why does it have constructor and
> > > destructors at all?
> >
> > Why is it even a class?
>
> Its a class because it is a collection of related functions/methods.

That sounds like a namespace. A class is the type of an object, with the 
purpose of encapsulating data and operations on that object.
-- 
Thanks,
Richard
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic