Re: Standard builtin/macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi David,

No, there is no C Standard macro-magic that does that trick.  You'll have to
roll your own macro.

For C++, there is no macro-magic that does that trick either; you'd have to
roll your own macro there as well.  Without looking, I bet Boost (q.v.,
http://www.boost.org/) has some template-magic that does that trick.

On OS X, they have a <c.h> which does that trick.  And there's a wxWidgets
<wx-2.5/wx/defs.h> that does that trick (q.v. http://www.wxwidgets.org/).

--Eljay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux