$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: jbandela_at_[hidden]
Date: 2001-09-15 19:31:14
It seems that Borland generates bad code for the assignment operator
for a compressed_pair. In my own regression tests for Tokenizer,
Borland fails the part at runtime where copying the iterator is
tested.
It seems that replacing the following code in iterator_adapters.hpp
#ifdef BOOST_MSVC
// This is required to prevent a bug in how VC++ generates
// the assignment operator for compressed_pair.
WITH
#if defined(BOOST_MSVC) || defined(__BORLANDC__)
// This is required to prevent a bug in how VC++ generates
// the assignment operator for compressed_pair.
fixes the problem. Ah, the joys of compiler bugs :).
Cheers,
John R. Bandela