Boost logo

Boost Users :

Subject: Re: [Boost-users] [lockfree] spsc_queue unqiue_ptr
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2014-03-20 21:07:29


On 03/20/2014 05:29 PM, Michael Marcin wrote:
> Can you store unique_ptrs in a spsc_queue?


    T must have a default constructor
    T must be copyable

A unique_ptr is not copyable.

In Christ,
Steven Watanabe

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at