Boost logo

Boost :

Subject: [boost] [array] failures in c++11 mode
From: Tim Blechmann (tim_at_[hidden])
Date: 2013-02-14 07:30:49


hi,

r82834 seems to break compilation of boost.array when compiled in c++11
mode:

../../../boost/array.hpp:131:9: error: body of constexpr function
‘constexpr const T& boost::array<T, N>::operator[](boost::array<T,
N>::size_type) const [with T =
boost::heap::detail::skew_heap_node<q_tester, false>*; long unsigned int
N = 2ul; boost::array<T, N>::const_reference =
boost::heap::detail::skew_heap_node<q_tester, false>* const&;
boost::array<T, N>::size_type = long unsigned int]’ not a return-statement

the boost.heap testsuite exposes this failure:
http://www.boost.org/development/tests/trunk/developer/output/Sandia-gcc-4-7-1-c++11-boost-bin-v2-libs-heap-test-skew_heap_test-test-gcc-4-7-1_c++11-debug-threading-multi.html

thnx,
tim


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk