Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » unsupported language features
unsupported language features [message #179718] Tue, 14 November 2006 14:42
Eclipse UserFriend
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
Previous Topic:variable display
Next Topic:Problem with TabFocus Moevemet
Goto Forum:
  


Current Time: Mon Jun 09 04:49:53 EDT 2025

Powered by FUDForum. Page generated in 0.23619 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top