Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2000-06-19 06:37:53


----- Original Message -----
From: "Mark Rodgers" <mark.rodgers_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Monday, June 19, 2000 5:40 AM
Subject: Re: [boost] operators.hpp and Borland 5.5 (was 1.15.0 Posted on web
site)

> > No, I have no better ideas than the one you've proposed. Let me know
> > how it works out; I'd like to get borland compatibility to work.
>
> Yes it works, but I also needed to apply it to operators and operators2,
> i.e., stick them in the global namespace and import them into boost via
> inheritance. :-(
>
> Anyway, I now have a version of operators.hpp, config.hpp and
> operators_test.cpp that work with both BCB4 and BCC5.5. I'll tidy them
> up and upload them to the vault shortly.

Great!

> Another problem I had was in the explicit instantiations in
> operators_test. BCC5.5 didn't like
>
> template Wrapped1<int>;
>
> Error E2505 operators_test.cpp 288: Explicit instantiation requires an
> elaborated type specifier (i.e., "class foo<int>")
>
> So it prefers
>
> template class Wrapped1<int>;
>
> Unfortunately, MSVC doesn't seem to like the latter.

Your compiler is correct on this point. We were supposed to limit those
syntactically incorrect explicit instantiations to MSVC, but I guess that
got dropped on the floor :(

Thanks for everything,
Dave


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