Subject: [Boost-bugs] [Boost C++ Libraries] #2823: [fusion] vector copy constructor copies sequence members in different order on different platforms
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-03-03 17:44:25
#2823: [fusion] vector copy constructor copies sequence members in different order
on different platforms
--------------------------------+-------------------------------------------
Reporter: dkomisar_at_[hidden] | Owner: djowel
Type: Bugs | Status: new
Milestone: Boost 1.39.0 | Component: fusion
Version: Boost 1.38.0 | Severity: Problem
Keywords: |
--------------------------------+-------------------------------------------
The generalized fusion::vector copy constructor for constructing from
arbitrary fusion sequences does its copying in reverse order on one of my
machines. This does not occur with vector copy assignment, and does not
occur at all with fusion::list (see attached code).
In all my real world use this has not made a difference; I uncovered it in
a unit test. The attached code shows what happens when you use
transform_view to transform a fusion sequence with a stateful fusion
functor.
Correct order:
Mac PPC OS 10.5.6 Darwin Kernel 9.6.0 gcc 4.2.1
Reverse order:
Linux 2.6.9-42.0.3.ELsmp i686 i686 i386 gcc 4.2.4
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2823> 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:49:59 UTC