Boost logo

Boost :

From: Nicola Musatti (Nicola.Musatti_at_[hidden])
Date: 2006-04-13 03:32:26


Hallo,
libs/iterator/test/iterator_traits_test.cpp should be updated for the
latest Borland compiler. Patch attached.

Cheers,
Nicola Musatti


******Index: iterator_traits_test.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/iterator/test/iterator_traits_test.cpp,v
retrieving revision 1.4
diff -d -u -r1.4 iterator_traits_test.cpp
--- iterator_traits_test.cpp 20 Feb 2006 15:45:08 -0000 1.4
+++ iterator_traits_test.cpp 12 Apr 2006 07:34:10 -0000
@@ -153,7 +153,7 @@
 input_iterator_test<std::istream_iterator<int>, int, std::ptrdiff_t, int*, int&, std::input_iterator_tag>
         istream_iterator_test;
 
-#if defined(__BORLANDC__) && !defined(__SGI_STL_PORT)
+#if BOOST_WORKAROUND(__BORLANDC__, <= 0x564) && !defined(__SGI_STL_PORT)
 typedef ::std::char_traits<char>::off_type distance;
 non_pointer_test<std::ostream_iterator<int>,int,
     distance,int*,int&,std::output_iterator_tag> ostream_iterator_test;


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