Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-08-10 16:09:11


"Robert Ramey" <ramey_at_[hidden]> writes:

> Rene,
>
> Here is my assessment of the status of the serialization library as it
> relates to the Metrowerks compiler.
>
> all versions of CodeWarrior C++
>
> CW two-phase lookup threw me for a loop. It took me long time to
> really understand this. Now that I do, I'm strongly convinced that
> it's a really bad idea. I don't know if its true - but I think I
> heard that it was implemented in order to make template export work
> - which looks like another bad idea to me. Oh well.

Give it a chance to sink in. It's a good idea even if you ignore
export because it reduces the chance that a template's meaning will
change based on definitions that follow it, allows syntax checking
before instantiation, and adds rigor.

<snip>

> CW < 8
>
> I believe that these versions will pass 100 %

I wouldn't count on it. CW 7.x couldn't handle the "sizeof() trick",
so *lots* of basic TMP things (like is_convertible) fail there. Of
course, maybe you're sure that none of these things are used...?

-- 
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