Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10789: unexpected behaviour with boost range join on rvalue
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-11-13 07:11:20
#10789: unexpected behaviour with boost range join on rvalue
------------------------------------+------------------------
Reporter: Matei David <matei@â¦> | Owner: neilgroves
Type: Bugs | Status: new
Milestone: To Be Determined | Component: range
Version: Boost 1.57.0 | Severity: Problem
Resolution: | Keywords:
------------------------------------+------------------------
Comment (by Matei David <matei@â¦>):
I'm using `gcc-4.8.2` and `clang-3.5`. I'm compiling with:
{{{
[g++|clang++] -std=c++11 -Wall -Wextra -pedantic example-join.cpp -o
example-join
}}}
The results I'm seeing are either "12 34", which is ok, or "12 0", which
is not ok. Note that the last element is not even default constructed
(which would be 99, not 0).
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10789#comment:1> 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:17 UTC