
18 Apr
2013
18 Apr
'13
2:32 p.m.
On Thu, Apr 18, 2013 at 10:20 AM, Olaf Peter
Hi,
the attached example confuses me, I've got:
$ g++ -Wall boost_container_bug.cpp -o boost_container_bug && ./boost_container_bug (size=4 [1, 2, 3, 4, 0, 4])
$ LANG=en g++ --version g++ (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2) Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Did I miss something or is it a bug?
Works as expected with Boost 1.49 and GCC 4.7: $ ./a.out (size=4 [1, 2, 3, 4]) $ g++ --version g++ (Ubuntu/Linaro 4.7.2-5ubuntu1) 4.7.2 -kyle