unsupported language features [message #179718] |
Tue, 14 November 2006 14:42 |
Eclipse User |
|
|
|
Originally posted by: borso.saturnus.vein.hu
Hello all,
I'm looking for a list of C++ and CPP language features and
G++ extensions that Eclipse doesn't understand and can't index.
At the moment these specific items come into my mind:
-- header.gcc (of gcc)
-- token pasting (of CPP, the ## operator)
-- varadic argument macros ( args... and __VA_ARGS__ )
-- creative use of macros; let me explain:
/* Suppose we have the following definitions that expand to
* template specializations. */
#define GSOBJ_CONTAINER(kind, type, type_const...) \
::gslib::TContainer##kind<type ,##type_const>
#define GSAVL_VORSET_NODE(key, val) \
::gslib::gsavl::TNodeVOrSet< GSOBJ_CONTAINER key, GSOBJ_CONTAINER val >
// ^^^^^^ ^^^^
// WITHOUT parentheses
The user calls
GSAVL_VORSET_NODE((Atom, char *, char const *), (Atom, unsigned))
and it expands to
::gslib::gsavl::TNodeVOrSet<
::gslib::TContainerAtom<char *, char const *>,
::gslib::TContainerAtom<unsigned> >
Should I expect Eclipse to understand what's going on?
I'll admit I didn't do my homework -- I'm completely Eclipse-unaware
and don't know where to start to look at, so any RTFM pointers are welcome.
thanks,
adam
|
|
|
Powered by
FUDForum. Page generated in 0.23619 seconds