C++ Logo


Advanced search

Re: [std-proposals] Relocation in C++

From: Magnus Fromreide <magfr_at_[hidden]>
Date: Fri, 3 Jun 2022 19:28:12 +0200

Having read this thread there are some things I am confused about:

How does destroy+relocate assignment work when the assignment is a

If a relocate constructor is spelled T(T) then how does it work when more
than one type is involved, is


a relocating constructor for A that takes a B?
If it isn't, then how should that be written?


Received on 2022-06-03 17:28:15