I don't like it, maybe...

Falk Brettschneider gigafalk at yahoo.com
Sat Jan 22 10:43:13 GMT 2000


Hi,

Just a thought about it:

Massimo Morin wrote:
> 
>    What the set of rule will generate:
> 
>    // .h file
> 
>    MyClass(...., int member = 0);
>    const int GetMember() const { return m_member; }
>    void SetMember(const int member) { m_member = member; }
Nearly a standard is:
     ... int member() ...	// for get operations
         ... setMember(...)...	// for set operations

Bye,
  Falk



__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com




More information about the KDevelop mailing list