[Development] Views in APIs (was: Re: QString and related changes for Qt 6)

Thiago Macieira thiago.macieira at intel.com
Thu May 14 02:15:01 CEST 2020


On quarta-feira, 13 de maio de 2020 01:41:26 PDT Иван Комиссаров wrote:
> std::span<Product> Project::productsSpan() const & { return d->products; }
> std::span<Product> Project::productsSpan() const && = delete;

Now implement either or both of these functions if internally you have a 
QSet<Products>.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products





More information about the Development mailing list