On Monday, 7 January 2019 12:57:56 PST Matthew Woehlke wrote:
> Can I use std::unique_ptr in a signal?

No. If you connected two slots to the signal, which one would get the pointer? 
The problem is that the answer makes no sense, which means move-only types 
make no sense in signal parameters.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center



_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to