|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r51359 - trunk/boost/functional
From: tschwinger_at_[hidden]
Date: 2009-02-20 18:36:43
Author: t_schwinger
Date: 2009-02-20 18:36:42 EST (Fri, 20 Feb 2009)
New Revision: 51359
URL: http://svn.boost.org/trac/boost/changeset/51359
Log:
straightens visibility issues
Text files modified:
trunk/boost/functional/factory.hpp | 2 +-
trunk/boost/functional/forward_adapter.hpp | 5 ++---
trunk/boost/functional/lightweight_forward_adapter.hpp | 5 ++---
3 files changed, 5 insertions(+), 7 deletions(-)
Modified: trunk/boost/functional/factory.hpp
==============================================================================
--- trunk/boost/functional/factory.hpp (original)
+++ trunk/boost/functional/factory.hpp 2009-02-20 18:36:42 EST (Fri, 20 Feb 2009)
@@ -58,7 +58,7 @@
template< class Pointer, class Allocator, factory_alloc_propagation AP >
class factory
- : Allocator::template rebind< typename boost::pointee<
+ : private Allocator::template rebind< typename boost::pointee<
typename boost::remove_cv<Pointer>::type >::type >::other
{
public:
Modified: trunk/boost/functional/forward_adapter.hpp
==============================================================================
--- trunk/boost/functional/forward_adapter.hpp (original)
+++ trunk/boost/functional/forward_adapter.hpp 2009-02-20 18:36:42 EST (Fri, 20 Feb 2009)
@@ -45,7 +45,6 @@
{
template< typename Sig > struct apply;
- private:
// Utility metafunction for qualification adjustment on arguments
template< typename T > struct q { typedef T const t; };
template< typename T > struct q<T const> { typedef T const t; };
@@ -73,7 +72,7 @@
template< typename Function, int Arity_Or_MinArity, int MaxArity >
class forward_adapter
: public BOOST_TMP_MACRO(Function,Function,Function const)
- , Function
+ , private Function
{
public:
forward_adapter(Function const& f = Function())
@@ -95,7 +94,7 @@
template< typename Function, int Arity_Or_MinArity, int MaxArity >
class forward_adapter< Function const, Arity_Or_MinArity, MaxArity >
: public BOOST_TMP_MACRO(Function const, Function const, Function const)
- , Function
+ , private Function
{
public:
forward_adapter(Function const& f = Function())
Modified: trunk/boost/functional/lightweight_forward_adapter.hpp
==============================================================================
--- trunk/boost/functional/lightweight_forward_adapter.hpp (original)
+++ trunk/boost/functional/lightweight_forward_adapter.hpp 2009-02-20 18:36:42 EST (Fri, 20 Feb 2009)
@@ -46,7 +46,6 @@
{
template< typename Sig > struct apply;
- private:
// Utility metafunction for argument transform
template< typename T > struct x { typedef T const& t; };
template< typename T > struct x< boost::reference_wrapper<T> >
@@ -77,7 +76,7 @@
template< typename Function, int Arity_Or_MinArity, int MaxArity >
class lightweight_forward_adapter
: public BOOST_TMP_MACRO(Function,Function,Function const)
- , Function
+ , private Function
{
public:
lightweight_forward_adapter(Function const& f = Function())
@@ -100,7 +99,7 @@
class lightweight_forward_adapter< Function const, Arity_Or_MinArity,
MaxArity >
: public BOOST_TMP_MACRO(Function const, Function const, Function const)
- , Function
+ , private Function
{
public:
lightweight_forward_adapter(Function const& f = Function())
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk