Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2001-06-22 06:07:46


>BTW, trying to reproduce the errors in the question, I've run into another
two:

1) it seems that 'conversion_traits.hpp' header was checked in with some
diff data in it, which leads to compilation failure:
<

I think that must be your local copy at fault, the version in the
repository looks OK, as is my local copy...

>2) on MSVC, the expression 'self::is_input_iter' from the following code
(boost/iterator_adaptors.hpp, line 367)

      typedef typename
boost::detail::if_true<(self::is_input_iter)>::template
      then<
        proxy,
   // else
        Pointer
>::type type;

in some situations lead to "error C2027: use of undefined type ...", there
"undefined type" refers to 'self'. AFAIR, 'self::' qualification here was a
Borland workaround; hmm.. need to re-read John's article on coding intergal
constant expressions to make any useful suggestions here :).
<

In short don't do that for VC6 - yes it is required for Borland, and
required not to be there for VC6, you'll have to add a VC6 specific ifdef
for that.

- John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/


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