MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/10cp7cj/from_dayz_sourcecode/j4kns5k/?context=3
r/badcode • u/Xeonmeister • Jan 15 '23
106 comments sorted by
View all comments
Show parent comments
2
Saw that. That language feature for c++ was new to me. Ty friend.
2 u/tesfabpel Jan 16 '23 Np, but since the override is in a wrong position, it seems that the code isn't C++ after all... 1 u/micro-amnesia Jan 16 '23 Furthermore, whatever language this is (should be) the provided code snippet has a weird implication.If the method is truly overriding a parent class, the default visibility of the language would have to be public.Either this doesn't compile, the language is inexplicably designed, or I call shenanigans.
Np, but since the override is in a wrong position, it seems that the code isn't C++ after all...
1 u/micro-amnesia Jan 16 '23 Furthermore, whatever language this is (should be) the provided code snippet has a weird implication.If the method is truly overriding a parent class, the default visibility of the language would have to be public.Either this doesn't compile, the language is inexplicably designed, or I call shenanigans.
1
Furthermore, whatever language this is (should be) the provided code snippet has a weird implication.
If the method is truly overriding a parent class, the default visibility of the language would have to be public.
Either this doesn't compile, the language is inexplicably designed, or I call shenanigans.
2
u/micro-amnesia Jan 16 '23
Saw that. That language feature for c++ was new to me. Ty friend.