concurrent_queue my_queue;my_queue.push (10);my_queue.push (20);my_queue.push (30);my_queue.clear();my_queue.push(40); // What?? Can't I re-use the same object.
Thanks for uncovering an issue. I can reproduce it. I'll try to push the fix into the developer's release as quickly as possible.
For more complete information about compiler optimizations, see our Optimization Notice.