Run Code
|
API
|
Code Wall
|
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
Enum Class Comparisons
fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
Unicode_write2file
PreprocessorVsNamespace
MSVC bug in __fastcall implementation !!!
Redeclare with auto
regex select, find
#33
virtual test
ria