Boost logo

Boost :

From: Beman Dawes (beman_at_[hidden])
Date: 2000-06-18 14:55:27


At 07:17 AM 6/19/2000 +1200, Mark Rodgers wrote:

>> What problems are you having, with 5.5 exactly?
>
>It doesn't like this bit:
>
> namespace boost {
> using ::orable;
> ...

Hum... Might be the same problem Jens ran into with his Random library.

His suggested fix follows.

I would rather not see a blanket test like #elif !defined(__BORLANDC__) in
a header. Better to put something specific in config.hpp that takes the
time to check versions, etc.

--Beman

--- /work/boost-1.14.0/boost/operators.hpp Mon Dec 13 17:02:50 1999
+++ operators.hpp Thu May 11 00:37:38 2000
@@ -335,7 +335,7 @@

  #ifndef BOOST_NO_OPERATORS_IN_NAMESPACE
  } // namespace boost
-#else
+#elif !defined(__BORLANDC__)
  namespace boost {
    using ::orable;
    using ::andable;
@@ -453,7 +453,7 @@

  #ifndef BOOST_NO_OPERATORS_IN_NAMESPACE
  } // namespace boost
-#else
+#elif !defined(__BORLANDC__)

  namespace boost {
    using ::incrementable;


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