Boost logo

Boost :

From: Ross Smith (ross.s_at_[hidden])
Date: 2001-05-28 17:13:51


John Max Skaller wrote:
>
> gcc 2.95.3 is useless. If you haven't broken it
> in the regression tests, you haven't been trying.
> It has a catastrophic bug: it expands inline methods of template classes
> when it instantiates the class.
>
> The following example will fail for any smart pointer
> class with an inline dispatch on the internal pointer:
>
> class Y { smart_ptr<X> x; };
> class X { smart_ptr<Y> y; };
>
> Is there a way to turn off this non-conforming behaviour?

What's non-conforming about it? The above code should certainly fail.

-- 
Ross Smith <ross.s_at_[hidden]> The Internet Group, Auckland, New Zealand
========================================================================
        "Hungarian notation is the tactical nuclear weapon of
         source code obfuscation techniques." -- Roedy Green

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