|
Boost Users : |
Subject: Re: [Boost-users] [test] testing protected/private methods out of test suits
From: Zeljko Vrba (zvrba_at_[hidden])
Date: 2008-09-22 15:18:30
On Mon, Sep 22, 2008 at 12:44:01PM -0600, Robert Mecklenburg wrote:
>
> I would swear that the standard indicated that public/private had no
> effect on visibility, just accessibility. That is, changing a
> symbol's access from private to public did not change the meaning of a
> program. Stroustrup uses such language in the D&E of C++.
>
I recall somewhat vaguely a similar discussion on comp.lang.c++.moderated
where the conclusion was that redefining keywords such as public/private
via preprocessor macros leads to undefined behavior. I don't think that
MS violates the standard with this particular behavior.
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