Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
weird cast in qt moc files
//g++ 5.4.0 #include <iostream> struct X {}; struct Y {}; int main() { struct X x; struct Y *p = reinterpret_cast<struct Y(*)>(&x); struct Y **pp = reinterpret_cast<struct Y(**)>(&p); struct Y *y2 = (struct Y((*const)))(&x); return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Age
pattern
floyd alfa 1
Divide
selection_sort
Test 4(2017)
Empty C++
Function to m_function
OOP
dijkstra's algo
Please log in to post a comment.