Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Default constructor - deleted
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64 #include <iostream> class MyClass { public: MyClass() = delete; MyClass(int i) : m_i(i) { std::cout << "Parameterized constructor " << m_i << std::endl; } private: int m_i; }; int main() { MyClass m; }
run
|
edit
|
history
|
help
0
lab1
kkk
Temp 1
Test
Overload resolve function pointer
msvc compile optimization demo...
derived_tempalte
Not an overflow
atoi on hex
VC++