Opened 5 years ago

Last modified 5 years ago

#13497 new Bugs

‘next’ is not a member of ‘boost’ in spsc_queue.hpp in 1.67

Reported by: Riot <rain.backnet@…> Owned by: timblechmann
Milestone: To Be Determined Component: lockfree
Version: Boost 1.67.0 Severity: Regression
Keywords: Cc:

Description

/usr/src/boost_1_67_0/boost/lockfree/spsc_queue.hpp: In member function ‘ConstIterator boost::lockfree::detail::ringbuffer_base<T>::push(ConstIterator, ConstIterator, T*, boost::lockfree::detail::ringbuffer_base<T>::size_t)’: /usr/src/boost_1_67_0/boost/lockfree/spsc_queue.hpp:140:43: error: ‘next’ is not a member of ‘boost’

const ConstIterator last = boost::next(begin, input_count);

~

This didn't occur in boost 1.66.

Change History (2)

comment:1 by timblechmann, 5 years ago

could you possibly re-post this on github with a complete test case?

comment:2 by Riot <rain.backnet@…>, 5 years ago

I've just checked and the issue is resolved in the current github master of lockfree. The issue is just a missing include.

Note: See TracTickets for help on using tickets.