User profile: wc skya

User info
User name:wc skya
History
Joined:
Number of posts:11
Latest posts:

Why g++ didn't choose move constructor
Thanks hellos for formatting the source code. For the line 38 call, there are two copy constructor ...

Why g++ didn't choose move constructor
For this program source code: #include <cstdio> #include <utility> namespace { int ID; st...

rounding between C++ and java
I have a Dell desktop with an Intel CPU running Linux. When I write a C++ program with this line: ...

different types to ?: operator
But here, x, y, and a are all the same type, which is Base, *p is Derived, and *c is const Derived. ...

different types to ?: operator
namespace { struct Base {}; struct Derived: Base {}; } int main() { Base a; Derived b;...

This user does not accept Private Messages

User: wc skya

  • Public profile