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
"Mostly invalid states" and unordered_set
Attribute of qi parsers
rstring
C string literal
Copy vs Reference
Visual C++ template instantiation
Structured Member Value Access Using Structure Member Pointer and Variadic Templates
vc++ bug?
Wrong type deduction of std::valarray expression
ntohl