Ticket #2823 (new Bugs)
[fusion] vector copy constructor copies sequence members in different order on different platforms
|Reported by:||dkomisar@…||Owned by:||djowel|
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