The concept move_constructible
is satisfied if T
is a reference type, or if it is an object type where an object of that type can be constructed from an rvalue of that type in both direct- and copy-initialization contexts, with the usual semantics.
If T
is an object type, then move_constructible<T>
is modeled only if given
rv
, an rvalue of type T
, andu2
, a distinct object of type T
equal to rv
,the following are true:
u
is equal to u2
;T(rv)
is equal to u2
; andT
is not const-qualified, then rv
's resulting state (after the definition/expression is evaluated in either bullets above) is valid but unspecified; otherwise, it is unchanged.move_constructible
[concept.moveconstructible]move_constructible
[concept.moveconstructible]RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4