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


AMDG

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

http://www.boost.org/doc/html/boost/lockfree/spsc_queue.html

Requirements:

    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 hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net