just include "concurrentqueue/concurrentqueue.h" when cmake program errors appears:
/opt/vcpkg/installed/x64-linux/include/concurrentqueue/concurrentqueue.h: In static member function ‘static U moodycamel::ConcurrentQueue<T, Traits>::create_array(moodycamel::ConcurrentQueue<T, Traits>::size_t)’:
/opt/vcpkg/installed/x64-linux/include/concurrentqueue/concurrentqueue.h:3612:40: error: expected type-specifier before ‘;’ token
3612 | new (p + i) U();
| ^
/opt/vcpkg/installed/x64-linux/include/concurrentqueue/concurrentqueue.h: In static member function ‘static void moodycamel::ConcurrentQueue<T, Traits>::destroy_array(U, moodycamel::ConcurrentQueue<T, Traits>::size_t)’:
/opt/vcpkg/installed/x64-linux/include/concurrentqueue/concurrentqueue.h:3622:48: error: expected identifier before ‘;’ token
3622 |
just include "concurrentqueue/concurrentqueue.h" when cmake program errors appears: /opt/vcpkg/installed/x64-linux/include/concurrentqueue/concurrentqueue.h: In static member function ‘static U moodycamel::ConcurrentQueue<T, Traits>::create_array(moodycamel::ConcurrentQueue<T, Traits>::size_t)’: /opt/vcpkg/installed/x64-linux/include/concurrentqueue/concurrentqueue.h:3612:40: error: expected type-specifier before ‘;’ token 3612 | new (p + i) U(); | ^ /opt/vcpkg/installed/x64-linux/include/concurrentqueue/concurrentqueue.h: In static member function ‘static void moodycamel::ConcurrentQueue<T, Traits>::destroy_array(U, moodycamel::ConcurrentQueue<T, Traits>::size_t)’: /opt/vcpkg/installed/x64-linux/include/concurrentqueue/concurrentqueue.h:3622:48: error: expected identifier before ‘;’ token 3622 |