How can I use boost::lockfree:queue objects?
I am trying to write an application that builds an object of this class using the default constructor, but this gives me an assertion error inside boost sources:
BOOST_ASSERT(has_capacity);
How can I use the default constructor for this class? Do I need to specify the size of the queue using the template arguments?
c ++ boost lock-free
Frozenheart
source share