STATIC_ASSERTION_FAILURE arises from BOOST_STATIC_ASSERT . I suspect Boost.Lockfree has a fifo element size limit. Try again with a lower UDT.
It may also be that Lockfree only works with standard types, so UDT will not be accepted. If in this case you need to save the pointer instead of the actual structure.
source share