
I don't find anything like BOOST_NO_TWO_PHASE_LOOKUP in config.hpp Is there something like this there that I've missed? If not could it be added? I think this might be useful to me. Robert Ramey

Robert Ramey wrote:
I don't find anything like BOOST_NO_TWO_PHASE_LOOKUP in config.hpp
I don't how to determine at compile time whether it's turned on or not (for the few compilers that support it at all). For all compilers I know, you have to switch on two-phase lookup manually (like a 'feature'). Stefan

"Stefan Slapeta" <stefan@slapeta.com> wrote in message news:co7soh$i64$1@sea.gmane.org...
Robert Ramey wrote:
I don't find anything like BOOST_NO_TWO_PHASE_LOOKUP in config.hpp
I don't how to determine at compile time whether it's turned on or not (for the few compilers that support it at all). For all compilers I know, you have to switch on two-phase lookup manually (like a 'feature').
I believe on Metrowerks it can be tested using __option(parse_func_templ) What other compilers allow this to be turned on and off? Jonathan

I don't find anything like BOOST_NO_TWO_PHASE_LOOKUP in config.hpp
Is there something like this there that I've missed? If not could it be added? I think this might be useful to me.
I'm having difficulty imagining a use case for this, can you explain the problem you have - there may be a better solution - especially if we can't detect this for EDG compilers. Thanks, John.

I realized that it would have to be detected at compile time because many compilers control this with a switch. That made it even more difficult to deal with. I restructure things so I don't need it.
I'm having difficulty imagining a use case for this, can you explain the problem you have
Its difficult to explain in a short message why I needed it. I had a conflict in: a) header order influenced program symantics for compilers which implemented two phase look up while in other compilers it didn't b) otherwise unrelated features required a particular order sequence which provoked the above problem Robert Ramey
participants (4)
-
John Maddock
-
Jonathan Turkanis
-
Robert Ramey
-
Stefan Slapeta