Details
-
Bug
-
Resolution: Done
-
P4: Low
-
5.6
-
None
Description
shptr.cpp:6:27: error: conversion from ‘std::nullptr_t’ to non-scalar type ‘QSharedPointer<int>’ requested QSharedPointer<int> p = nullptr;
This is a not-uncommon thing to do with a std::shared_ptr.
I didn't look for other incompatibilities. I just noticed this one when porting one use of std::shared_ptr to QSharedPointer.
Attachments
Issue Links
- is duplicated by
-
QTBUG-52223 please support nullptr for QSharedPointer
-
- Closed
-