- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I'm interested in using e.g. tbb::concurrent_queue with std::unique_ptr. However, the following doesn't work; I get a compile error with gcc 4.3.2 trying to use the copy ctor which is private, instead of the move ctor. When will TBB support C++0x? (The unique_ptr code can be found here.)
#include
#include
using namespace std;
using namespace tbb;
int main() {
concurrent_queue
return 0;
}
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any reason why you couldn't use something like boost::shared_ptr?

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page