function_base.hpp:

- Make manager and functor members of function_base public instead of
    protected, because attempt to make HP aCC compile Boost.Function

function_template.hpp:
  - HP aCC seems to believe that the functor and manager members inherited from
    function_base are inaccessible. So qualify them with the function_base
    base class.


[SVN r12298]
This commit is contained in:
Douglas Gregor
2002-01-13 16:12:26 +00:00
parent d48fa26030
commit 647693dfc9
2 changed files with 17 additions and 17 deletions

View File

@ -326,7 +326,7 @@ namespace boost {
// Is this function empty?
bool empty() const { return !manager; }
protected:
public: // should be protected, but GCC 2.95.3 will fail to allow access
detail::function::any_pointer (*manager)(
detail::function::any_pointer,
detail::function::functor_manager_operation_type);