summaryrefslogtreecommitdiffstats
path: root/header.BSD
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2017-03-09 13:54:56 +0100
committerThiago Macieira <thiago.macieira@intel.com>2017-04-07 17:41:06 +0000
commit795a54ff9688697c033fc5d522f4c50c707d5924 (patch)
tree20468045310d1cc5e65a1faeb2508c96f41eff33 /header.BSD
parent25d1bbb84939b6960f16e82254fc844839ddfa54 (diff)
QDataStream: add operator<< and >> for std::nullptr_t
std::nullptr_t is nullary: it accepts only one value, nullptr. So we don't need to read or write anything. This commit simply adds the two operators that allow generic code to operate on std::nullptr_t if required. This commit also adds the actual use to QMetaType::load/save, even though there's no change in behavior. [ChangeLog][QtCore][QDataStream] Added operator<< and operator>> overloads that take std::nullptr_t, to facilitate generic code. Change-Id: Iae839f6a131a4f0784bffffd14aa37e7f62d2740 Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'header.BSD')
0 files changed, 0 insertions, 0 deletions