Boost logo

Boost :

Subject: Re: [boost] [array] failures in c++11 mode
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2013-02-14 10:35:31

On Feb 14, 2013, at 4:30 AM, Tim Blechmann <tim_at_[hidden]> wrote:

> 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:

Which compiler are you using?

All the heap tests (and the array tests, which include some constexpr tests) pass locally for me (in c++11 mode) - I'm using clang, btw.

-- Marshall

Marshall Clow Idio Software <mailto:mclow.lists_at_[hidden]>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki

Boost list run by bdawes at, gregod at, cpdaniel at, john at