Cyrille Berger said the following, On 2008-05-30 09:02: > On Friday 30 May 2008, Thorsten Zachmann wrote: >> A struct is just a class where members are public as default. I would not >> like to change all structs to classes as I really enjoy the possibility to >> write less. > > That's what the standard says. Unfortunately some compilers (msvc) generates > different symbols for class and struct, and generate compile errors if you > use class after a forward declaration as a struct. That's not true. The symbols appear to be the same and there are no errors but only warnings. Methods in structs just obfuscate the code in my eyes, that's the problem. -- regards / pozdrawiam, Jaroslaw Staniek Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi) KDE Libraries for MS Windows (http://windows.kde.org) _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel