Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10156: Error with count_if on QNX
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-07-01 16:55:02
#10156: Error with count_if on QNX
------------------------------------------+---------------------------
Reporter: Niklas Angare <li51ckf02@â¦> | Owner: ramey
Type: Patches | Status: new
Milestone: To Be Determined | Component: serialization
Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
------------------------------------------+---------------------------
Comment (by Niklas Angare <li51ckf02@â¦>):
Luckily the standards writers were much smarter than you give them credit
for so distance() works just fine with linked list iterators. Here's what
the standard says about std::distance():
> Effects: If [the type of the iterators] meets the requirements of random
access iterator, returns (last - first); otherwise, returns the number of
increments needed to get from first to last.
So my code should be equivalent but more elegant than the previous
implementation.
----
Regarding the warchive tests, see here:
http://lists.boost.org/boost-testing/2010/10/6697.php
I'll get to that any year now :) I hate command-line gdb. I'll see if I
can set up remote debugging with the IDE for Boost regression tests.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10156#comment:3> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC