From 0af5dc09c8955432d060821b9a7a8c8b87fba24a Mon Sep 17 00:00:00 2001 From: Raoul Gough Date: Fri, 24 Oct 2003 18:10:12 +0000 Subject: [PATCH] third container_proxy template parameter (pointer container type generator) [SVN r20481] --- include/boost/python/suite/indexing/algo_selector.hpp | 7 ++++--- include/boost/python/suite/indexing/proxy_iterator.hpp | 5 ++--- include/boost/python/suite/indexing/shared_proxy_impl.hpp | 3 +-- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/include/boost/python/suite/indexing/algo_selector.hpp b/include/boost/python/suite/indexing/algo_selector.hpp index 25c2c563..486539d5 100755 --- a/include/boost/python/suite/indexing/algo_selector.hpp +++ b/include/boost/python/suite/indexing/algo_selector.hpp @@ -26,6 +26,7 @@ // Include this early to ensure the declaration of the get_pointer // overload for element_proxy is in-scope for both name-lookup phases +#include #include #include @@ -164,10 +165,10 @@ namespace boost { namespace python { namespace indexing { }; // Container proxies - template - class selector_impl > + template + class selector_impl > { - typedef container_proxy Container; + typedef container_proxy Container; typedef container_proxy_traits mutable_traits; typedef container_proxy_traits const_traits; diff --git a/include/boost/python/suite/indexing/proxy_iterator.hpp b/include/boost/python/suite/indexing/proxy_iterator.hpp index 67fa7d8d..16e5c4ab 100755 --- a/include/boost/python/suite/indexing/proxy_iterator.hpp +++ b/include/boost/python/suite/indexing/proxy_iterator.hpp @@ -1,5 +1,4 @@ -// -*- mode:c++ -*- -// + // Header file proxy_iterator.hpp // // Copyright (c) 2003 Raoul M. Gough @@ -24,7 +23,7 @@ namespace boost { namespace python { namespace indexing { template class proxy_iterator { - template friend class container_proxy; + template friend class container_proxy; public: typedef ContainerProxy container_proxy_; diff --git a/include/boost/python/suite/indexing/shared_proxy_impl.hpp b/include/boost/python/suite/indexing/shared_proxy_impl.hpp index b14aad91..c57889c7 100755 --- a/include/boost/python/suite/indexing/shared_proxy_impl.hpp +++ b/include/boost/python/suite/indexing/shared_proxy_impl.hpp @@ -1,4 +1,3 @@ -// -*- mode:c++; switch-modules-target: "container_proxy.hpp" -*- // // Header file shared_proxy_impl.hpp // @@ -48,7 +47,7 @@ namespace boost { namespace python { namespace indexing { // Creates value-only (detached) proxy private: - template friend class container_proxy; + template friend class container_proxy; shared_proxy_impl (ContainerProxy *, size_t); void detach ();