$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r54323 - in sandbox/monotonic: boost/monotonic boost/monotonic/containers boost/monotonic/detail libs/monotonic/test
From: christian.schladetsch_at_[hidden]
Date: 2009-06-24 18:14:35
Author: cschladetsch
Date: 2009-06-24 18:14:33 EDT (Wed, 24 Jun 2009)
New Revision: 54323
URL: http://svn.boost.org/trac/boost/changeset/54323
Log:
moved monotonic/container.hpp to monotonic/detail/container.hpp
Added:
   sandbox/monotonic/boost/monotonic/detail/container.hpp
      - copied unchanged from r54321, /sandbox/monotonic/boost/monotonic/container.hpp
Removed:
   sandbox/monotonic/boost/monotonic/container.hpp
Text files modified: 
   sandbox/monotonic/boost/monotonic/allocator_base.hpp          |     2 +-                                      
   sandbox/monotonic/boost/monotonic/containers/chain.hpp        |     4 ++--                                    
   sandbox/monotonic/boost/monotonic/containers/deque.hpp        |     2 +-                                      
   sandbox/monotonic/boost/monotonic/containers/list.hpp         |     2 +-                                      
   sandbox/monotonic/boost/monotonic/containers/map.hpp          |     2 +-                                      
   sandbox/monotonic/boost/monotonic/containers/set.hpp          |     2 +-                                      
   sandbox/monotonic/boost/monotonic/containers/vector.hpp       |     2 +-                                      
   sandbox/monotonic/boost/monotonic/monotonic.hpp               |    14 +++++++-------                          
   sandbox/monotonic/libs/monotonic/test/compare_memory_pool.cpp |     2 +-                                      
   sandbox/monotonic/libs/monotonic/test/monotonic.vcproj        |     8 ++++----                                
   10 files changed, 20 insertions(+), 20 deletions(-)
Modified: sandbox/monotonic/boost/monotonic/allocator_base.hpp
==============================================================================
--- sandbox/monotonic/boost/monotonic/allocator_base.hpp	(original)
+++ sandbox/monotonic/boost/monotonic/allocator_base.hpp	2009-06-24 18:14:33 EDT (Wed, 24 Jun 2009)
@@ -12,7 +12,7 @@
 #include <boost/type_traits/has_trivial_destructor.hpp>
 
 #include <boost/monotonic/static_storage.hpp>
-#include <boost/monotonic/container.hpp>
+#include <boost/monotonic/detail/container.hpp>
 #include <boost/monotonic/detail/construct.hpp>
 
 #ifdef BOOST_MONOTONIC_USE_POOLS
Deleted: sandbox/monotonic/boost/monotonic/container.hpp
==============================================================================
--- sandbox/monotonic/boost/monotonic/container.hpp	2009-06-24 18:14:33 EDT (Wed, 24 Jun 2009)
+++ (empty file)
@@ -1,53 +0,0 @@
-// Copyright (C) 2009 Christian Schladetsch
-//
-//  Distributed under the Boost Software License, Version 1.0. (See accompanying 
-//  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-#ifndef BOOST_MONOTONIC_CONTAINER_HPP
-#define BOOST_MONOTONIC_CONTAINER_HPP
-
-#include <boost/monotonic/detail/prefix.hpp>
-//#include <boost/monotonic/allocator.hpp>
-
-namespace boost
-{
-	namespace monotonic
-	{
-		namespace detail
-		{
-			struct container_base { virtual ~container_base() { } };
-
-			template <class Impl>
-			struct container;
-
-			template <class T>
-			struct is_monotonic : mpl::bool_<is_convertible<T *, container_base *>::value> { };
-			
-			template <class Impl>
-			struct is_monotonic<container<Impl> > : mpl::true_ { };
-
-			template <class Impl>
-			struct container : container_base
-			{
-				typedef Impl Derived;
-
-				storage_base &get_storage() const
-				{
-					Derived const &self = static_cast<Derived const &>(*this);
-					storage_base *store = self.get_allocator().get_storage();
-					if (store == 0)
-						//throw_exception(no_storage());
-						throw no_storage();
-					return *store;
-				}
-			};
-
-		}
-	}
-}
-
-#include <boost/monotonic/detail/postfix.hpp>
-
-#endif // BOOST_MONOTONIC_CONTAINER_HPP
-
-//EOF
Modified: sandbox/monotonic/boost/monotonic/containers/chain.hpp
==============================================================================
--- sandbox/monotonic/boost/monotonic/containers/chain.hpp	(original)
+++ sandbox/monotonic/boost/monotonic/containers/chain.hpp	2009-06-24 18:14:33 EDT (Wed, 24 Jun 2009)
@@ -11,8 +11,8 @@
 #include <boost/iterator/iterator_categories.hpp>
 
 #include <boost/utility/iter_range.hpp>
-#include <boost/monotonic/container/vector.hpp>
-#include <boost/monotonic/container/deque.hpp>
+#include <boost/monotonic/containers/vector.hpp>
+#include <boost/monotonic/containers/deque.hpp>
 
 namespace boost
 {
Modified: sandbox/monotonic/boost/monotonic/containers/deque.hpp
==============================================================================
--- sandbox/monotonic/boost/monotonic/containers/deque.hpp	(original)
+++ sandbox/monotonic/boost/monotonic/containers/deque.hpp	2009-06-24 18:14:33 EDT (Wed, 24 Jun 2009)
@@ -8,7 +8,7 @@
 
 #include <boost/monotonic/detail/prefix.hpp>
 #include <boost/interprocess/containers/deque.hpp>
-#include <boost/monotonic/container.hpp>
+#include <boost/monotonic/detail/container.hpp>
 
 namespace boost
 {
Modified: sandbox/monotonic/boost/monotonic/containers/list.hpp
==============================================================================
--- sandbox/monotonic/boost/monotonic/containers/list.hpp	(original)
+++ sandbox/monotonic/boost/monotonic/containers/list.hpp	2009-06-24 18:14:33 EDT (Wed, 24 Jun 2009)
@@ -30,7 +30,7 @@
 #include <list>
 #include <boost/interprocess/containers/list.hpp>
 #include <boost/monotonic/detail/prefix.hpp>
-#include <boost/monotonic/container.hpp>
+#include <boost/monotonic/detail/container.hpp>
 
 namespace boost
 {
Modified: sandbox/monotonic/boost/monotonic/containers/map.hpp
==============================================================================
--- sandbox/monotonic/boost/monotonic/containers/map.hpp	(original)
+++ sandbox/monotonic/boost/monotonic/containers/map.hpp	2009-06-24 18:14:33 EDT (Wed, 24 Jun 2009)
@@ -9,7 +9,7 @@
 #include <map>
 #include <boost/interprocess/containers/map.hpp>
 #include <boost/monotonic/detail/prefix.hpp>
-#include <boost/monotonic/container.hpp>
+#include <boost/monotonic/detail/container.hpp>
 
 namespace boost
 {
Modified: sandbox/monotonic/boost/monotonic/containers/set.hpp
==============================================================================
--- sandbox/monotonic/boost/monotonic/containers/set.hpp	(original)
+++ sandbox/monotonic/boost/monotonic/containers/set.hpp	2009-06-24 18:14:33 EDT (Wed, 24 Jun 2009)
@@ -8,7 +8,7 @@
 
 #include <boost/interprocess/containers/set.hpp>
 #include <boost/monotonic/detail/prefix.hpp>
-#include <boost/monotonic/container.hpp>
+#include <boost/monotonic/detail/container.hpp>
 
 namespace boost
 {
Modified: sandbox/monotonic/boost/monotonic/containers/vector.hpp
==============================================================================
--- sandbox/monotonic/boost/monotonic/containers/vector.hpp	(original)
+++ sandbox/monotonic/boost/monotonic/containers/vector.hpp	2009-06-24 18:14:33 EDT (Wed, 24 Jun 2009)
@@ -9,7 +9,7 @@
 #include <boost/interprocess/containers/vector.hpp>
 #include <vector>
 #include <boost/monotonic/detail/prefix.hpp>
-#include <boost/monotonic/container.hpp>
+#include <boost/monotonic/detail/container.hpp>
 
 namespace boost
 {
Modified: sandbox/monotonic/boost/monotonic/monotonic.hpp
==============================================================================
--- sandbox/monotonic/boost/monotonic/monotonic.hpp	(original)
+++ sandbox/monotonic/boost/monotonic/monotonic.hpp	2009-06-24 18:14:33 EDT (Wed, 24 Jun 2009)
@@ -13,13 +13,13 @@
 //TODO #	include <boost/monotonic/thread_local_allocator.hpp>
 #endif
 
-#include <boost/monotonic/container/string.hpp>
-#include <boost/monotonic/container/vector.hpp>
-#include <boost/monotonic/container/list.hpp>
-#include <boost/monotonic/container/set.hpp>
-#include <boost/monotonic/container/map.hpp>
-#include <boost/monotonic/container/deque.hpp>
-#include <boost/monotonic/container/chain.hpp>
+#include <boost/monotonic/containers/string.hpp>
+#include <boost/monotonic/containers/vector.hpp>
+#include <boost/monotonic/containers/list.hpp>
+#include <boost/monotonic/containers/set.hpp>
+#include <boost/monotonic/containers/map.hpp>
+#include <boost/monotonic/containers/deque.hpp>
+#include <boost/monotonic/containers/chain.hpp>
 
 namespace boost
 {
Modified: sandbox/monotonic/libs/monotonic/test/compare_memory_pool.cpp
==============================================================================
--- sandbox/monotonic/libs/monotonic/test/compare_memory_pool.cpp	(original)
+++ sandbox/monotonic/libs/monotonic/test/compare_memory_pool.cpp	2009-06-24 18:14:33 EDT (Wed, 24 Jun 2009)
@@ -23,7 +23,7 @@
 #include "./PoolResult.h"
 #include "./Tests.h"
 
-#include <boost/monotonic/container/string.hpp>
+#include <boost/monotonic/containers/string.hpp>
 
 using namespace std;
 using namespace boost;
Modified: sandbox/monotonic/libs/monotonic/test/monotonic.vcproj
==============================================================================
--- sandbox/monotonic/libs/monotonic/test/monotonic.vcproj	(original)
+++ sandbox/monotonic/libs/monotonic/test/monotonic.vcproj	2009-06-24 18:14:33 EDT (Wed, 24 Jun 2009)
@@ -267,10 +267,6 @@
 					>
                                 </File>
                                 <File
-					RelativePath="..\..\..\boost\monotonic\container.hpp"
-					>
-				</File>
-				<File
                                         RelativePath="..\..\..\boost\monotonic\exceptions.hpp"
 					>
                                 </File>
@@ -366,6 +362,10 @@
 						>
                                         </File>
                                         <File
+						RelativePath="..\..\..\boost\monotonic\detail\container.hpp"
+						>
+					</File>
+					<File
                                                 RelativePath="..\..\..\boost\monotonic\detail\link.hpp"
 						>
                                         </File>