Commit bcd38a96 authored by Giuseppe D'Angelo's avatar Giuseppe D'Angelo

Re-fix the definition of primitive types

The conditions are AND, not OR. Technically we don't rely on
not having constructors any more, but we may reserve the right
in the future to have uninitialized resizes.

Change-Id: Icfae61079a544f7ac8e90a32ad605c12cfa8b4aa
Pick-to: 6.0 dev
Reviewed-by: default avatarThiago Macieira <thiago.macieira@intel.com>
parent 12651fc4
......@@ -3973,7 +3973,7 @@ bool qunsetenv(const char *varName)
\list
\li \c Q_PRIMITIVE_TYPE specifies that \a Type is a POD (plain old
data) type with no constructor or destructor, or else a type memcpy()ing
data) type with no constructor or destructor, and for which memcpy()ing
creates a valid independent copy of the object.
\li \c Q_RELOCATABLE_TYPE specifies that \a Type has a constructor
and/or a destructor but can be moved in memory using \c
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment