-
Couldn't load subscription status.
- Fork 171
Description
I tried to build but got this compiler error:
Consolidate compiler generated dependencies of target pagmo
[ 1%] Building CXX object CMakeFiles/pagmo.dir/src/island.cpp.o
pagmo2/src/island.cpp:204:45: error: constraints not satisfied for class template 'queue' [with T = pagmo::detail::task_queue, Options = <>]
204 | static auto tq_cache = boost::lockfree::queue<task_queue>();
| ^~~~~~~~~~~~~~~~~
boost_1_89_0/install/include/boost/lockfree/queue.hpp:86:15: note: because 'std::is_copy_assignable_vpagmo::detail::task_queue , std::is_trivially_assignable_v<pagmo::detail::task_queue &, pagmo::detail::task_queue> , std::is_trivially_destructible_vpagmo::detail::task_queue' evaluated to false
86 | requires( std::is_copy_assignable_v< T >,
| ^
Looking at task_queue.hpp, the copy/assignment ctors are deleted. What can I do for a workaround for now?