util/TagStructs: add struct AdoptTag
This commit is contained in:
parent
936611b47c
commit
131263cbe3
@ -15,3 +15,10 @@
|
|||||||
* duplicating the referenced objects).
|
* duplicating the referenced objects).
|
||||||
*/
|
*/
|
||||||
struct ShallowCopy {};
|
struct ShallowCopy {};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A tag that signals that the callee shall take ownership of the
|
||||||
|
* object that is being passed to it. Usually, that owned is an
|
||||||
|
* unmanaged reference and rvalues do not make sense.
|
||||||
|
*/
|
||||||
|
struct AdoptTag {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user