Re: [Doxygen-users] EXPAND_AS_DEFINED and Poor Mans Inheritance
Brought to you by:
dimitri
From: Hendrik S. <Do...@HS...> - 2001-06-12 20:03:02
|
"Peter Steiner" <pet...@hu...> wrote: > On Sun, 10 Jun 2001 23:02:34 +0200, Hendrik Schober wrote: > > > "Peter Steiner" <pet...@hu...> wrote: > > >> [...] > >> It seems that the doxygen comments inside my macro BASECLASS are > >> swallowed during the preprocessing stage. > > > AFAIK that's what the C++ standard says how it should be. > > Where does it state this? A very quick glance at section 2.7 (Comments) > and chapter 16 (Preprocessing Directives) didn't give any statement > _when_ to remove comments. Sorry, no chapter and verse available from me. My English is way to bad to read the C++ standard (except when I have a hard time to fall asleep). It's what I seem to remember from discussions on comp.lang-c++.moderated. > To be exactly, I'm more interested in the C > standard in this case anyway, as the source is C (or I'd be able to use > C++ inheritance instead of some obscure macro technology...) Oh, C. No idea. > And as doxygen does not see the fully preprocessed source > (or it wouldn't see _any_ comment), it doesn't really matter what the > C++ or C standard says... What I meant was, that doxygen seems to be C++ standard compliant in respect to comments within preprocessor macros. > [...] But doxygen doesn't use the compilers preprocessor, it uses > its own. I just plea for this _feature_ inside doxygen... Ah, I see. I guess it was too late last night... > Regards > > Peter Schobi |