Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
sharedptr emptiness
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64 #include <iostream> #include <memory> int main() { std::shared_ptr<int> p1; auto p2 = std::make_shared<int>(); if (!p1) std::cout << "p1 empty!\n"; if (!p2) std::cout << "p2 empty!\n"; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Problem_rstring_1
reference
unordered map broken msvc
hangman
Ελλάδα !!!!
Test
std::is_same doesn't check for calling convention
not a parameter pack
#18
accessibility on in-class typedefs
Please log in to post a comment.