This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/41050] Placement new not seeing base class protected functions
- From: "igodard at pacbell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Aug 2009 02:47:40 -0000
- Subject: [Bug c++/41050] Placement new not seeing base class protected functions
- References: <bug-41050-6594@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from igodard at pacbell dot net 2009-08-13 02:47 -------
Well, if the call is on foo then surely a foo can call; its own methods,
whereas if the call is on bar then a bar should see the protected methods of
its base class foo. Either way it should be visible.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41050