C
cppquester
I figured that a private virtual function is called through the base
class when the function is declared there public.
I think this is fine, but it was compiled without warning.
I use gcc, is this behaviour guaranteed in the standard?
Thanks,
Marc
class when the function is declared there public.
I think this is fine, but it was compiled without warning.
I use gcc, is this behaviour guaranteed in the standard?
Thanks,
Marc