|
Boost : |
From: Douglas Paul Gregor (gregod_at_[hidden])
Date: 2004-01-08 08:04:57
On Thu, 8 Jan 2004, [iso-8859-1] Lars Gullik Bjønnes wrote:
> Douglas Paul Gregor <gregod_at_[hidden]> writes:
>
> | On Thu, 8 Jan 2004, Stefan Slapeta wrote:
> >
> >> Douglas Gregor wrote:
> >> >
> >> > // GCC extension. Do other compilers support it?
> >> > #include_next <functional>
> >> >
> >>
> >> STLPort does it this way:
> >>
> >> #define _STLP_NATIVE_CPP_C_HEADER(header) <../include/##header>
> >>
> >> IMO this should be ok for all compilers (see STLPort, too!).
> >
> | Ah, right. I've seen this before. Thank you.
>
> but this only work if the headers are installed in a pre-decided
> place?
Yes, and you can change the location by defining _STLP_NATIVE_INCLUDE_PATH
to some other location. It's not seamless, but it will work.
Doug
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk