Boost logo

Boost Users :

Subject: Re: [Boost-users] Problem compiling with CodeGear Borland 2007
From: Nicola Musatti (Nicola.Musatti_at_[hidden])
Date: 2008-11-18 03:26:03

Philip Ogunbona <ssyste10 <at>> writes:
> I have looked at the header file "is_reference.hpp" to see if I could
> make something out of the line 46. It turns to be a "workaround" for
> BORLAND compiler. There is a comment to the effect "theses are illegal
> specializations: cv-qualifies applied to references have no effect
> according to [8.3.2p1], C++ Builder requires them though it treats
> cv-qualified reference as distinct types ..."

I'm not sure whether you stand any chance of compiling uBlas with CB2007, but if
I remember correctly that specific workaround should not be necessary with
CB2007 and CB2009 so you might try and change the macros that control it so that
it is only used when __BORLANDC__ is less than 0x593

> I would like to know if any has been successful in using Borland
> compiler with boost library based codes.

Borland/CodeGear customers wishing to use Boost in their code tend to find the
following useful:

Nicola Musatti

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at