> -----Original Message-----
> From: Martin Sebor [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, June 24, 2008 2:24 PM
> To: [email protected]
> Subject: Re: svn commit: r662845 - in /stdcxx/branches/4.2.x: 
> examples/include/ examples/tutorial/ tests/iostream/ 
> tests/localization/ tests/regress/ tests/utilities/
> 
> [EMAIL PROTECTED] wrote:
> > Author: elemings
> > Date: Tue Jun  3 10:24:08 2008
> > New Revision: 662845
> > 
> > URL: http://svn.apache.org/viewvc?rev=662845&view=rev
> > Log:
> > 2008-06-03  Eric Lemings <[EMAIL PROTECTED]>
> > 
> >     STDCXX-550
> [...]
> >     * tests/utilities/20.operators.cpp (RandomNumberGenerator):
> >     Change parameter type of RNG from hard-coded `int' to template
> >     parameter `T'.
> >     (test_random_access_iterators): Instantiate RNG using difference
> >     type of iterator rather than value type as specified by
> >     `random_shuffle' requirements.
> [...]
> 
> I suspect this change is causing the test to fail to compile
> with HP aCC 3.63 (I haven't checked more recent versions or
> other compilers).
> 
> Brad, can you please take a look at it?

Yeah it looks like I'll need to add conditional compilation to take
debug iterators into account.  I'm assuming that's how the compiler is
deducing type `int*' from types `std::deque<int>::iterator,
std::basic_string<T>::iterator, and std::vector<T>::iterator`.

Brad.

Reply via email to