Boost logo

Boost :

From: Ulrich Eckhardt (doomster_at_[hidden])
Date: 2006-04-10 01:10:41


On Saturday 08 April 2006 20:18, Roland Schwarz wrote:
> I am wondering if it would be possible to write a computed include macro
> that is sufficiently compiler independent?
>
> E.e. given a macro
>
> #define BOOST_PLATFORM_INCLUDE(hdr) ... definition missing ...
>
> which should be usable as:
>
> #include BOOST_PLATFORM(foo.h)

Roland,

I'm not sure if that will help you, but I know that STLport uses a similar
technique to include native headers (i.e. the compiler's string.h from their
string.h), I think the macro is called _STLP_NATIVE_INCLUDE_PATH or something
like that.

Uli


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk