Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-08-05 07:17:31


Stefan Slapeta <stefan_at_[hidden]> writes:

> On compilers with two-phase lookup (CW*) the workaround_test (range
> lib) fails because of incorrect typedefs in iterator.hpp.
> (Yes, I know it's very strange to disable partial specialization on a
> compiler with two-phase lookup.)
>
> OK to commit this patch for detail/iterator.hpp?

Well, in principle the patch is OK, but whatever you're doing that's
causing that code to be compiled with CW8 is emphatically *NOT* OK.
At best it represents a deadly ODR trap.

So I'd rather not see you make any changes to detail/iterator.hpp --
that part of the code is not meant for conforming compilers.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

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