I don't understand why the first doesn't work instead the second works!
#include <boost/bind.hpp> #include <boost/function.hpp> #include "concurrentQueue.h"; class TestClass { public: static concurrentQueue<function<void()>> notW; static concurrentQueue<int> Works; } I attach also the beginning of the concurrentQueue class:
template<class Data> class concurrentQueue