Docs: Add a note clarifying that Q_MOVABLE_TYPE is not about move semantics
Change-Id: Ib1fb9ac00c0437ed2312c46e3e97d7ece05ba8e8 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
6f84d50457
commit
1de3fe0f9b
@ -3837,7 +3837,8 @@ int qrand()
|
||||
independent copy of the object.
|
||||
\li \c Q_MOVABLE_TYPE specifies that \a Type has a constructor
|
||||
and/or a destructor but can be moved in memory using \c
|
||||
memcpy().
|
||||
memcpy(). Note: despite the name, this has nothing to do with move
|
||||
constructors or C++ move semantics.
|
||||
\li \c Q_COMPLEX_TYPE (the default) specifies that \a Type has
|
||||
constructors and/or a destructor and that it may not be moved
|
||||
in memory.
|
||||
|
Loading…
Reference in New Issue
Block a user