|
Boost : |
From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2006-02-22 19:12:00
Peder Holt wrote:
>
> This is not a problem in BOOST_TYPEOF.
Well, I never said it was -- it's a VC7.1 problem of course ;-).
It's a confix_p with VC7.1 -- that's why I cross post to spirit.devel.
If it's unfixable it would probably be a good idea to have a portability note in the docuementation.
> The following code replicates the ICE under VC7.1:
>
Minimized further:
> #include <boost/spirit/core.hpp>
> #include <boost/spirit/utility/confix.hpp>
>
> using namespace boost::spirit;
> template<typename T>
> void test(const T&) {}
>
> int main()
> {
> test(
> confix_p("//",*anychar_p,eol_p)
<snip>
> );
> return 0;
> }
Using
confix_p(str_p("//"),*anychar_p,eol_p)
melts the ICE.
Regards,
Tobias
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk