|
Boost Users : |
Subject: Re: [Boost-users] Compiler does not give error for missing serialize function
From: Richard Damon (Richard_at_[hidden])
Date: 2016-04-22 16:33:34
On 4/22/16 1:14 PM, Elizabeta wrote:
> Hi
> but private functions from base are not inherited in the derived right? so
> serialize should not be seen in the derived class imho. Also why is not
> wrong, one can forget to write serialize for the derived class.
>
Derived classes can SEE private base members/functions, they can not
access them. This can have effect with overloading (which uses
visibility, not accessibility into account)
-- Richard Damon
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net