cameron314/readerwriterqueue — pull request #4 by nikreiman (2013-10-16 08:52:27+00:00)
Title: try_dequeue should return early if queue is empty

I'm not 100% sure that this is the correct behavior here, however I
noticed segfaults in my code when calling try_dequeue from a
newly-initialized queue. In such cases, frontBlock.load() will at
least return nullptr, and attempting to call any methods on such a
pointer will result in segfaults.