4
4

1 回答 1

0

STATIC_ASSERTION_FAILURE arises from a BOOST_STATIC_ASSERT. I suspect Boost.Lockfree has some size limit on the elements of the fifo. Try again with a smaller UDT.

It may also be the case that Lockfree only works with standard types, so no UDT's will be accepted. If that's case you need to store a pointer instead of the actual structure.

于 2011-11-04T20:20:41.940 回答