[LLVMbugs] [Bug 12056] New: shared_ptr comparison to nullptr are not implemented
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Feb 21 11:58:58 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=12056
Bug #: 12056
Summary: shared_ptr comparison to nullptr are not implemented
Product: libc++
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
AssignedTo: hhinnant at apple.com
ReportedBy: dblaikie at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
a simple example:
#include <memory>
int main() { std::shared_ptr<int> i; i == nullptr; }
fails to compile ("invalid operands to binary expression ('shared_ptr<int>' and
'nullptr_t')").
The op== overloads were added to the summary comment in <memory> in r132261,
but the implementations were never written.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list