|
Boost-Commit : |
From: joaquin_at_[hidden]
Date: 2008-09-01 11:58:27
Author: joaquin
Date: 2008-09-01 11:58:26 EDT (Mon, 01 Sep 2008)
New Revision: 48517
URL: http://svn.boost.org/trac/boost/changeset/48517
Log:
deleted from post-review version
Removed:
sandbox/flyweight/boost/flyweight/detail/dyn_template_ctors_def.hpp
sandbox/flyweight/boost/flyweight/detail/dyn_template_ctors_undef.hpp
sandbox/flyweight/boost/flyweight/detail/msvc60_template_ctors_def.hpp
sandbox/flyweight/boost/flyweight/detail/msvc60_template_ctors_undef.hpp
sandbox/flyweight/boost/flyweight/detail/pp_template_ctors_def.hpp
sandbox/flyweight/boost/flyweight/detail/pp_template_ctors_undef.hpp
sandbox/flyweight/boost/flyweight/detail/prevent_eti.hpp
sandbox/flyweight/boost/flyweight/detail/template_ctors_def.hpp
sandbox/flyweight/boost/flyweight/detail/template_ctors_undef.hpp
sandbox/flyweight/libs/flyweight/doc/review_notes.html
sandbox/flyweight/libs/flyweight/test/lambda_components.hpp
Deleted: sandbox/flyweight/boost/flyweight/detail/dyn_template_ctors_def.hpp
==============================================================================
--- sandbox/flyweight/boost/flyweight/detail/dyn_template_ctors_def.hpp 2008-09-01 11:58:26 EDT (Mon, 01 Sep 2008)
+++ (empty file)
@@ -1,64 +0,0 @@
-/* Copyright 2006-2007 Joaquín M López Muñoz.
- * 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)
- *
- * See http://www.boost.org/libs/flyweight for library home page.
- */
-
-#ifndef BOOST_FLYWEIGHT_DETAIL_DYN_TEMPLATE_CTORS_DEF_HPP
-#define BOOST_FLYWEIGHT_DETAIL_DYN_TEMPLATE_CTORS_DEF_HPP
-
-#if defined(_MSC_VER)&&(_MSC_VER>=1200)
-#pragma once
-#endif
-
-#include <boost/preprocessor/arithmetic/add.hpp>
-#include <boost/preprocessor/cat.hpp>
-#include <boost/preprocessor/repetition/enum.hpp>
-#include <boost/preprocessor/repetition/enum_params.hpp>
-#include <boost/preprocessor/repetition/repeat.hpp>
-#include <boost/preprocessor/repetition/repeat_from_to.hpp>
-#include <boost/preprocessor/seq/elem.hpp>
-#include <boost/preprocessor/seq/for_each_product.hpp>
-#include <boost/preprocessor/seq/size.hpp>
-
-#define BOOST_FLYWEIGHT_CONST(b) BOOST_PP_CAT(BOOST_FLYWEIGHT_CONST,b)
-#define BOOST_FLYWEIGHT_CONST0
-#define BOOST_FLYWEIGHT_CONST1 const
-
-/* if mask[n]==0 --> Tn& tn
- * if mask[n]==1 --> const Tn& tn
- */
-
-#define BOOST_FLYWEIGHT_CTOR_ARG(z,n,mask) \
-BOOST_FLYWEIGHT_CONST(BOOST_PP_SEQ_ELEM(n,mask)) \
-BOOST_PP_CAT(T,n)& BOOST_PP_CAT(t,n)
-
-/* flyweight template ctor accepting size(mask) args, where the template
- * args are marked const or not according to the given mask (a seq of 0 or 1)
- */
-
-#define BOOST_FLYWEIGHT_CTOR(r,mask) \
-template<BOOST_PP_ENUM_PARAMS(BOOST_PP_SEQ_SIZE(mask),typename T)> \
-explicit flyweight( \
- BOOST_PP_ENUM(BOOST_PP_SEQ_SIZE(mask),BOOST_FLYWEIGHT_CTOR_ARG,mask)): \
- h(core::insert( \
- T(BOOST_PP_ENUM_PARAMS(BOOST_PP_SEQ_SIZE(mask),t)))) \
-{}
-
-#define BOOST_FLYWEIGHT_01(z,n,_) ((0)(1))
-
-/* Perfect forwarding template ctors for flyweight accepting 1 to n args */
-
-#define BOOST_FLYWEIGHT_CTORS_N(z,n,_) \
-BOOST_PP_SEQ_FOR_EACH_PRODUCT( \
- BOOST_FLYWEIGHT_CTOR, \
- BOOST_PP_REPEAT(n,BOOST_FLYWEIGHT_01,~))
-
-#define BOOST_FLYWEIGHT_CTORS \
-BOOST_PP_REPEAT_FROM_TO( \
- 1,BOOST_PP_ADD(BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS,1), \
- BOOST_FLYWEIGHT_CTORS_N,~)
-
-#endif
Deleted: sandbox/flyweight/boost/flyweight/detail/dyn_template_ctors_undef.hpp
==============================================================================
--- sandbox/flyweight/boost/flyweight/detail/dyn_template_ctors_undef.hpp 2008-09-01 11:58:26 EDT (Mon, 01 Sep 2008)
+++ (empty file)
@@ -1,24 +0,0 @@
-/* Copyright 2006 Joaquín M López Muñoz.
- * 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)
- *
- * See http://www.boost.org/libs/flyweight for library home page.
- */
-
-#ifndef BOOST_FLYWEIGHT_DETAIL_DYN_TEMPLATE_CTORS_UNDEF_HPP
-#define BOOST_FLYWEIGHT_DETAIL_DYN_TEMPLATE_CTORS_UNDEF_HPP
-
-#if defined(_MSC_VER)&&(_MSC_VER>=1200)
-#pragma once
-#endif
-
-#undef BOOST_FLYWEIGHT_CTORS
-#undef BOOST_FLYWEIGHT_01
-#undef BOOST_FLYWEIGHT_CTOR
-#undef BOOST_FLYWEIGHT_CTOR_ARG
-#undef BOOST_FLYWEIGHT_CONST1
-#undef BOOST_FLYWEIGHT_CONST0
-#undef BOOST_FLYWEIGHT_CONST
-
-#endif
Deleted: sandbox/flyweight/boost/flyweight/detail/msvc60_template_ctors_def.hpp
==============================================================================
--- sandbox/flyweight/boost/flyweight/detail/msvc60_template_ctors_def.hpp 2008-09-01 11:58:26 EDT (Mon, 01 Sep 2008)
+++ (empty file)
@@ -1,68 +0,0 @@
-/* Copyright 2006-2007 Joaquín M López Muñoz.
- * 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)
- *
- * See http://www.boost.org/libs/flyweight for library home page.
- */
-
-#ifndef BOOST_FLYWEIGHT_DETAIL_MSVC60_TEMPLATE_CTORS_DEF_HPP
-#define BOOST_FLYWEIGHT_DETAIL_MSVC60_TEMPLATE_CTORS_DEF_HPP
-
-#pragma once
-
-#if BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS>=1
-#define BOOST_FLYWEIGHT_CTORS_1 \
-template<typename T0> explicit flyweight(const T0& t0,int=0):h(core::insert(T(t0))){}
-#endif
-
-#if BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS>=2
-#define BOOST_FLYWEIGHT_CTORS_2 \
-template<typename T0,typename T1> explicit flyweight(const T0& t0,const T1& t1):h(core::insert(T(t0,t1))){}
-#endif
-
-#if BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS>=3
-#define BOOST_FLYWEIGHT_CTORS_3 \
-template<typename T0,typename T1,typename T2> explicit flyweight(const T0& t0,const T1& t1,const T2& t2):h(core::insert(T(t0,t1,t2))){}
-#endif
-
-#if BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS>=4
-#define BOOST_FLYWEIGHT_CTORS_4 \
-template<typename T0,typename T1,typename T2,typename T3> explicit flyweight(const T0& t0,const T1& t1,const T2& t2,const T3& t3):h(core::insert(T(t0,t1,t2,t3))){}
-#endif
-
-#if BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS>=5
-#define BOOST_FLYWEIGHT_CTORS_5 \
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(const T0& t0,const T1& t1,const T2& t2,const T3& t3,const T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}
-#endif
-
-#if BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS==0
-#define BOOST_FLYWEIGHT_CTORS
-#elif BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS==1
-#define BOOST_FLYWEIGHT_CTORS \
-BOOST_FLYWEIGHT_CTORS_1
-#elif BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS==2
-#define BOOST_FLYWEIGHT_CTORS \
-BOOST_FLYWEIGHT_CTORS_1 \
-BOOST_FLYWEIGHT_CTORS_2
-#elif BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS==3
-#define BOOST_FLYWEIGHT_CTORS \
-BOOST_FLYWEIGHT_CTORS_1 \
-BOOST_FLYWEIGHT_CTORS_2 \
-BOOST_FLYWEIGHT_CTORS_3
-#elif BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS==4
-#define BOOST_FLYWEIGHT_CTORS \
-BOOST_FLYWEIGHT_CTORS_1 \
-BOOST_FLYWEIGHT_CTORS_2 \
-BOOST_FLYWEIGHT_CTORS_3 \
-BOOST_FLYWEIGHT_CTORS_4
-#else /* BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS==5 */
-#define BOOST_FLYWEIGHT_CTORS \
-BOOST_FLYWEIGHT_CTORS_1 \
-BOOST_FLYWEIGHT_CTORS_2 \
-BOOST_FLYWEIGHT_CTORS_3 \
-BOOST_FLYWEIGHT_CTORS_4 \
-BOOST_FLYWEIGHT_CTORS_5
-#endif
-
-#endif
Deleted: sandbox/flyweight/boost/flyweight/detail/msvc60_template_ctors_undef.hpp
==============================================================================
--- sandbox/flyweight/boost/flyweight/detail/msvc60_template_ctors_undef.hpp 2008-09-01 11:58:26 EDT (Mon, 01 Sep 2008)
+++ (empty file)
@@ -1,36 +0,0 @@
-/* Copyright 2006 Joaquín M López Muñoz.
- * 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)
- *
- * See http://www.boost.org/libs/flyweight for library home page.
- */
-
-#ifndef BOOST_FLYWEIGHT_DETAIL_MSVC60_TEMPLATE_CTORS_UNDEF_HPP
-#define BOOST_FLYWEIGHT_DETAIL_MSVC60_TEMPLATE_CTORS_UNDEF_HPP
-
-#pragma once
-
-#undef BOOST_FLYWEIGHT_CTORS
-
-#if BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS>=1
-#undef BOOST_FLYWEIGHT_CTORS_1
-#endif
-
-#if BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS>=2
-#undef BOOST_FLYWEIGHT_CTORS_2
-#endif
-
-#if BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS>=3
-#undef BOOST_FLYWEIGHT_CTORS_3
-#endif
-
-#if BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS>=4
-#undef BOOST_FLYWEIGHT_CTORS_4
-#endif
-
-#if BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS>=5
-#undef BOOST_FLYWEIGHT_CTORS_5
-#endif
-
-#endif
Deleted: sandbox/flyweight/boost/flyweight/detail/pp_template_ctors_def.hpp
==============================================================================
--- sandbox/flyweight/boost/flyweight/detail/pp_template_ctors_def.hpp 2008-09-01 11:58:26 EDT (Mon, 01 Sep 2008)
+++ (empty file)
@@ -1,127 +0,0 @@
-/* Copyright 2006-2007 Joaquín M López Muñoz.
- * 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)
- *
- * See http://www.boost.org/libs/flyweight for library home page.
- */
-
-#ifndef BOOST_FLYWEIGHT_DETAIL_PP_TEMPLATE_CTORS_DEF_HPP
-#define BOOST_FLYWEIGHT_DETAIL_PP_TEMPLATE_CTORS_DEF_HPP
-
-#if defined(_MSC_VER)&&(_MSC_VER>=1200)
-#pragma once
-#endif
-
-#if BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS>=1
-#define BOOST_FLYWEIGHT_CTORS_1 \
-template<typename T0> explicit flyweight(T0& t0):h(core::insert(T(t0))){}\
-template<typename T0> explicit flyweight(const T0& t0):h(core::insert(T(t0))){}
-#endif
-
-#if BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS>=2
-#define BOOST_FLYWEIGHT_CTORS_2 \
-template<typename T0,typename T1> explicit flyweight(T0& t0,T1& t1):h(core::insert(T(t0,t1))){}\
-template<typename T0,typename T1> explicit flyweight(T0& t0,const T1& t1):h(core::insert(T(t0,t1))){}\
-template<typename T0,typename T1> explicit flyweight(const T0& t0,T1& t1):h(core::insert(T(t0,t1))){}\
-template<typename T0,typename T1> explicit flyweight(const T0& t0,const T1& t1):h(core::insert(T(t0,t1))){}
-#endif
-
-#if BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS>=3
-#define BOOST_FLYWEIGHT_CTORS_3 \
-template<typename T0,typename T1,typename T2> explicit flyweight(T0& t0,T1& t1,T2& t2):h(core::insert(T(t0,t1,t2))){}\
-template<typename T0,typename T1,typename T2> explicit flyweight(T0& t0,T1& t1,const T2& t2):h(core::insert(T(t0,t1,t2))){}\
-template<typename T0,typename T1,typename T2> explicit flyweight(T0& t0,const T1& t1,T2& t2):h(core::insert(T(t0,t1,t2))){}\
-template<typename T0,typename T1,typename T2> explicit flyweight(T0& t0,const T1& t1,const T2& t2):h(core::insert(T(t0,t1,t2))){}\
-template<typename T0,typename T1,typename T2> explicit flyweight(const T0& t0,T1& t1,T2& t2):h(core::insert(T(t0,t1,t2))){}\
-template<typename T0,typename T1,typename T2> explicit flyweight(const T0& t0,T1& t1,const T2& t2):h(core::insert(T(t0,t1,t2))){}\
-template<typename T0,typename T1,typename T2> explicit flyweight(const T0& t0,const T1& t1,T2& t2):h(core::insert(T(t0,t1,t2))){}\
-template<typename T0,typename T1,typename T2> explicit flyweight(const T0& t0,const T1& t1,const T2& t2):h(core::insert(T(t0,t1,t2))){}
-#endif
-
-#if BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS>=4
-#define BOOST_FLYWEIGHT_CTORS_4 \
-template<typename T0,typename T1,typename T2,typename T3> explicit flyweight(T0& t0,T1& t1,T2& t2,T3& t3):h(core::insert(T(t0,t1,t2,t3))){}\
-template<typename T0,typename T1,typename T2,typename T3> explicit flyweight(T0& t0,T1& t1,T2& t2,const T3& t3):h(core::insert(T(t0,t1,t2,t3))){}\
-template<typename T0,typename T1,typename T2,typename T3> explicit flyweight(T0& t0,T1& t1,const T2& t2,T3& t3):h(core::insert(T(t0,t1,t2,t3))){}\
-template<typename T0,typename T1,typename T2,typename T3> explicit flyweight(T0& t0,T1& t1,const T2& t2,const T3& t3):h(core::insert(T(t0,t1,t2,t3))){}\
-template<typename T0,typename T1,typename T2,typename T3> explicit flyweight(T0& t0,const T1& t1,T2& t2,T3& t3):h(core::insert(T(t0,t1,t2,t3))){}\
-template<typename T0,typename T1,typename T2,typename T3> explicit flyweight(T0& t0,const T1& t1,T2& t2,const T3& t3):h(core::insert(T(t0,t1,t2,t3))){}\
-template<typename T0,typename T1,typename T2,typename T3> explicit flyweight(T0& t0,const T1& t1,const T2& t2,T3& t3):h(core::insert(T(t0,t1,t2,t3))){}\
-template<typename T0,typename T1,typename T2,typename T3> explicit flyweight(T0& t0,const T1& t1,const T2& t2,const T3& t3):h(core::insert(T(t0,t1,t2,t3))){}\
-template<typename T0,typename T1,typename T2,typename T3> explicit flyweight(const T0& t0,T1& t1,T2& t2,T3& t3):h(core::insert(T(t0,t1,t2,t3))){}\
-template<typename T0,typename T1,typename T2,typename T3> explicit flyweight(const T0& t0,T1& t1,T2& t2,const T3& t3):h(core::insert(T(t0,t1,t2,t3))){}\
-template<typename T0,typename T1,typename T2,typename T3> explicit flyweight(const T0& t0,T1& t1,const T2& t2,T3& t3):h(core::insert(T(t0,t1,t2,t3))){}\
-template<typename T0,typename T1,typename T2,typename T3> explicit flyweight(const T0& t0,T1& t1,const T2& t2,const T3& t3):h(core::insert(T(t0,t1,t2,t3))){}\
-template<typename T0,typename T1,typename T2,typename T3> explicit flyweight(const T0& t0,const T1& t1,T2& t2,T3& t3):h(core::insert(T(t0,t1,t2,t3))){}\
-template<typename T0,typename T1,typename T2,typename T3> explicit flyweight(const T0& t0,const T1& t1,T2& t2,const T3& t3):h(core::insert(T(t0,t1,t2,t3))){}\
-template<typename T0,typename T1,typename T2,typename T3> explicit flyweight(const T0& t0,const T1& t1,const T2& t2,T3& t3):h(core::insert(T(t0,t1,t2,t3))){}\
-template<typename T0,typename T1,typename T2,typename T3> explicit flyweight(const T0& t0,const T1& t1,const T2& t2,const T3& t3):h(core::insert(T(t0,t1,t2,t3))){}
-#endif
-
-#if BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS>=5
-#define BOOST_FLYWEIGHT_CTORS_5 \
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(T0& t0,T1& t1,T2& t2,T3& t3,T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(T0& t0,T1& t1,T2& t2,T3& t3,const T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(T0& t0,T1& t1,T2& t2,const T3& t3,T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(T0& t0,T1& t1,T2& t2,const T3& t3,const T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(T0& t0,T1& t1,const T2& t2,T3& t3,T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(T0& t0,T1& t1,const T2& t2,T3& t3,const T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(T0& t0,T1& t1,const T2& t2,const T3& t3,T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(T0& t0,T1& t1,const T2& t2,const T3& t3,const T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(T0& t0,const T1& t1,T2& t2,T3& t3,T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(T0& t0,const T1& t1,T2& t2,T3& t3,const T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(T0& t0,const T1& t1,T2& t2,const T3& t3,T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(T0& t0,const T1& t1,T2& t2,const T3& t3,const T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(T0& t0,const T1& t1,const T2& t2,T3& t3,T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(T0& t0,const T1& t1,const T2& t2,T3& t3,const T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(T0& t0,const T1& t1,const T2& t2,const T3& t3,T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(T0& t0,const T1& t1,const T2& t2,const T3& t3,const T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(const T0& t0,T1& t1,T2& t2,T3& t3,T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(const T0& t0,T1& t1,T2& t2,T3& t3,const T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(const T0& t0,T1& t1,T2& t2,const T3& t3,T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(const T0& t0,T1& t1,T2& t2,const T3& t3,const T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(const T0& t0,T1& t1,const T2& t2,T3& t3,T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(const T0& t0,T1& t1,const T2& t2,T3& t3,const T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(const T0& t0,T1& t1,const T2& t2,const T3& t3,T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(const T0& t0,T1& t1,const T2& t2,const T3& t3,const T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(const T0& t0,const T1& t1,T2& t2,T3& t3,T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(const T0& t0,const T1& t1,T2& t2,T3& t3,const T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(const T0& t0,const T1& t1,T2& t2,const T3& t3,T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(const T0& t0,const T1& t1,T2& t2,const T3& t3,const T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(const T0& t0,const T1& t1,const T2& t2,T3& t3,T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(const T0& t0,const T1& t1,const T2& t2,T3& t3,const T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(const T0& t0,const T1& t1,const T2& t2,const T3& t3,T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}\
-template<typename T0,typename T1,typename T2,typename T3,typename T4> explicit flyweight(const T0& t0,const T1& t1,const T2& t2,const T3& t3,const T4& t4):h(core::insert(T(t0,t1,t2,t3,t4))){}
-#endif
-
-#if BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS==0
-#define BOOST_FLYWEIGHT_CTORS
-#elif BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS==1
-#define BOOST_FLYWEIGHT_CTORS \
-BOOST_FLYWEIGHT_CTORS_1
-#elif BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS==2
-#define BOOST_FLYWEIGHT_CTORS \
-BOOST_FLYWEIGHT_CTORS_1 \
-BOOST_FLYWEIGHT_CTORS_2
-#elif BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS==3
-#define BOOST_FLYWEIGHT_CTORS \
-BOOST_FLYWEIGHT_CTORS_1 \
-BOOST_FLYWEIGHT_CTORS_2 \
-BOOST_FLYWEIGHT_CTORS_3
-#elif BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS==4
-#define BOOST_FLYWEIGHT_CTORS \
-BOOST_FLYWEIGHT_CTORS_1 \
-BOOST_FLYWEIGHT_CTORS_2 \
-BOOST_FLYWEIGHT_CTORS_3 \
-BOOST_FLYWEIGHT_CTORS_4
-#else /* BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS==5 */
-#define BOOST_FLYWEIGHT_CTORS \
-BOOST_FLYWEIGHT_CTORS_1 \
-BOOST_FLYWEIGHT_CTORS_2 \
-BOOST_FLYWEIGHT_CTORS_3 \
-BOOST_FLYWEIGHT_CTORS_4 \
-BOOST_FLYWEIGHT_CTORS_5
-#endif
-
-#endif
Deleted: sandbox/flyweight/boost/flyweight/detail/pp_template_ctors_undef.hpp
==============================================================================
--- sandbox/flyweight/boost/flyweight/detail/pp_template_ctors_undef.hpp 2008-09-01 11:58:26 EDT (Mon, 01 Sep 2008)
+++ (empty file)
@@ -1,38 +0,0 @@
-/* Copyright 2006 Joaquín M López Muñoz.
- * 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)
- *
- * See http://www.boost.org/libs/flyweight for library home page.
- */
-
-#ifndef BOOST_FLYWEIGHT_DETAIL_PP_TEMPLATE_CTORS_UNDEF_HPP
-#define BOOST_FLYWEIGHT_DETAIL_PP_TEMPLATE_CTORS_UNDEF_HPP
-
-#if defined(_MSC_VER)&&(_MSC_VER>=1200)
-#pragma once
-#endif
-
-#undef BOOST_FLYWEIGHT_CTORS
-
-#if BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS>=1
-#undef BOOST_FLYWEIGHT_CTORS_1
-#endif
-
-#if BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS>=2
-#undef BOOST_FLYWEIGHT_CTORS_2
-#endif
-
-#if BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS>=3
-#undef BOOST_FLYWEIGHT_CTORS_3
-#endif
-
-#if BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS>=4
-#undef BOOST_FLYWEIGHT_CTORS_4
-#endif
-
-#if BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS>=5
-#undef BOOST_FLYWEIGHT_CTORS_5
-#endif
-
-#endif
Deleted: sandbox/flyweight/boost/flyweight/detail/prevent_eti.hpp
==============================================================================
--- sandbox/flyweight/boost/flyweight/detail/prevent_eti.hpp 2008-09-01 11:58:26 EDT (Mon, 01 Sep 2008)
+++ (empty file)
@@ -1,60 +0,0 @@
-/* Copyright 2006 Joaquín M López Muñoz.
- * 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)
- *
- * See http://www.boost.org/libs/flyweight for library home page.
- */
-
-#ifndef BOOST_FLYWEIGHT_DETAIL_PREVENT_ETI_HPP
-#define BOOST_FLYWEIGHT_DETAIL_PREVENT_ETI_HPP
-
-#if defined(_MSC_VER)&&(_MSC_VER>=1200)
-#pragma once
-#endif
-
-#include <boost/config.hpp> /* keep it first to prevent nasty warns in MSVC */
-#include <boost/detail/workaround.hpp>
-
-#if BOOST_WORKAROUND(BOOST_MSVC,<1300)
-#include <boost/mpl/if.hpp>
-#include <boost/mpl/integral_c.hpp>
-#include <boost/mpl/aux_/msvc_never_true.hpp>
-#endif
-
-namespace boost{
-
-namespace flyweights{
-
-namespace detail{
-
-#if BOOST_WORKAROUND(BOOST_MSVC,<1300)
-/* See
- * http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?Effective_MPL
- * Item 5.6, Beware of the 'early template instantiation' trap.
- */
-
-template<typename Type,typename Construct>
-struct prevent_eti
-{
- typedef typename mpl::if_<
- mpl::aux::msvc_never_true<Type>,
- mpl::integral_c<int,0>,
- Construct
- >::type type;
-};
-#else
-template<typename Type,typename Construct>
-struct prevent_eti
-{
- typedef Construct type;
-};
-#endif
-
-} /* namespace flyweights::detail */
-
-} /* namespace flyweights */
-
-} /* namespace boost */
-
-#endif
Deleted: sandbox/flyweight/boost/flyweight/detail/template_ctors_def.hpp
==============================================================================
--- sandbox/flyweight/boost/flyweight/detail/template_ctors_def.hpp 2008-09-01 11:58:26 EDT (Mon, 01 Sep 2008)
+++ (empty file)
@@ -1,39 +0,0 @@
-/* Copyright 2006 Joaquín M López Muñoz.
- * 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)
- *
- * See http://www.boost.org/libs/flyweight for library home page.
- */
-
-#ifndef BOOST_FLYWEIGHT_DETAIL_TEMPLATE_CTORS_DEF_HPP
-#define BOOST_FLYWEIGHT_DETAIL_TEMPLATE_CTORS_DEF_HPP
-
-#if defined(_MSC_VER)&&(_MSC_VER>=1200)
-#pragma once
-#endif
-
-#include <boost/config.hpp> /* keep it first to prevent nasty warns in MSVC */
-#include <boost/detail/workaround.hpp>
-
-/* This user_definable macro limits the maximum number of arguments of
- * flyweight template ctors. Beware combinatorial explosion: in order to
- * implement perfect forwarding there are 2^n distinct ctors accepting
- * n args.
- */
-
-#if !defined(BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS)
-#define BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS 5
-#endif
-
-#if BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS<=5
-#if BOOST_WORKAROUND(BOOST_MSVC,<1300)
-#include <boost/flyweight/detail/msvc60_template_ctors_def.hpp>
-#else
-#include <boost/flyweight/detail/pp_template_ctors_def.hpp>
-#endif
-#else
-#include <boost/flyweight/detail/dyn_template_ctors_def.hpp>
-#endif
-
-#endif
Deleted: sandbox/flyweight/boost/flyweight/detail/template_ctors_undef.hpp
==============================================================================
--- sandbox/flyweight/boost/flyweight/detail/template_ctors_undef.hpp 2008-09-01 11:58:26 EDT (Mon, 01 Sep 2008)
+++ (empty file)
@@ -1,29 +0,0 @@
-/* Copyright 2006 Joaquín M López Muñoz.
- * 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)
- *
- * See http://www.boost.org/libs/flyweight for library home page.
- */
-
-#ifndef BOOST_FLYWEIGHT_DETAIL_TEMPLATE_CTORS_UNDEF_HPP
-#define BOOST_FLYWEIGHT_DETAIL_TEMPLATE_CTORS_UNDEF_HPP
-
-#if defined(_MSC_VER)&&(_MSC_VER>=1200)
-#pragma once
-#endif
-
-#include <boost/config.hpp> /* keep it first to prevent nasty warns in MSVC */
-#include <boost/detail/workaround.hpp>
-
-#if BOOST_FLYWEIGHT_LIMIT_NUM_CTOR_ARGS<=5
-#if BOOST_WORKAROUND(BOOST_MSVC,<1300)
-#include <boost/flyweight/detail/msvc60_template_ctors_undef.hpp>
-#else
-#include <boost/flyweight/detail/pp_template_ctors_undef.hpp>
-#endif
-#else
-#include <boost/flyweight/detail/dyn_template_ctors_undef.hpp>
-#endif
-
-#endif
Deleted: sandbox/flyweight/libs/flyweight/doc/review_notes.html
==============================================================================
--- sandbox/flyweight/libs/flyweight/doc/review_notes.html 2008-09-01 11:58:26 EDT (Mon, 01 Sep 2008)
+++ (empty file)
@@ -1,163 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0.1 Transitional//EN">
-
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-<title>Boost.Flyweight Documentation - Review notes</title>
-<link rel="stylesheet" href="style.css" type="text/css">
-<link rel="start" href="index.html">
-<link rel="prev" href="future_work.html">
-<link rel="up" href="index.html">
-<link rel="next" href="acknowledgements.html">
-</head>
-
-<body>
-<h1><img src="../../../boost.png" alt="boost.png (6897 bytes)" align=
-"middle" width="277" height="86">Boost.Flyweight Review notes</h1>
-
-<div class="prev_link"><a href="future_work.html"><img src="prev.gif" alt="future work" border="0"><br>
-Future work
-</a></div>
-<div class="up_link"><a href="index.html"><img src="up.gif" alt="index" border="0"><br>
-Index
-</a></div>
-<div class="next_link"><a href="acknowledgements.html"><img src="next.gif" alt="acknowledgements" border="0"><br>
-Acknowledgements
-</a></div><br clear="all" style="clear: all;">
-<br clear="all" style="clear: all;">
-
-<hr>
-
-<h3 align="center">Disclaimer: Boost.Flyweight is not a Boost library</h3>
-
-<p>
-Thank you for participating in the review of candidate Boost.Flyweight.
-These are some particular issues that I would like to see discussed
-during the review process.
-</p>
-
-<h2><a name="equality">Equality semantics</a></h2>
-
-<p>
-Consider the code:
-</p>
-
-<blockquote><pre>
-<span class=identifier>flyweight</span><span class=special><</span><span class=identifier>T</span><span class=special>></span> <span class=identifier>fw1</span><span class=special>,</span><span class=identifier>fw2</span><span class=special>;</span>
-<span class=special>...</span>
-<span class=keyword>bool</span> <span class=identifier>b</span><span class=special>=(</span><span class=identifier>fw1</span><span class=special>==</span><span class=identifier>fw2</span><span class=special>);</span>
-</pre></blockquote>
-
-<p>
-The comparison between <code>fw1</code> and <code>fw2</code> does <i>not</i>
-resort to the underlying values:
-</p>
-
-<blockquote><pre>
-<span class=keyword>bool</span> <span class=identifier>b</span><span class=special>=(</span><span class=identifier>fw1</span><span class=special>.</span><span class=identifier>get</span><span class=special>()==</span><span class=identifier>fw2</span><span class=special>.</span><span class=identifier>get</span><span class=special>());</span> <span class=comment>// This is *not* equivalent to fw1==fw2</span>
-</pre></blockquote>
-
-<p>
-but instead two <code>flyweight</code> objects are considered equal if
-they share their value:
-</p>
-
-<blockquote><pre>
-<span class=keyword>bool</span> <span class=identifier>b</span><span class=special>=(&(</span><span class=identifier>fw1</span><span class=special>.</span><span class=identifier>get</span><span class=special>())==&(</span><span class=identifier>fw2</span><span class=special>.</span><span class=identifier>get</span><span class=special>()));</span> <span class=comment>// This is equivalent to fw1==fw2</span>
-</pre></blockquote>
-
-<p>
-(Unlike <code>==</code>, the rest of comparison predicates just
-forward to the corresponding <code>T</code> operators.) There are
-advantages in adopting this implementation:
-<ul>
- <li>Equality comparison never throws and is extremely fast.</li>
- <li>Equality is tested in constant time: this is specially significant
- when recursive types are involved, as in the
- composite sample in the
- examples section.
- </li>
-</ul>
-</p>
-
-<p>
-But there are potential drawbacks as well:
-<ul>
- <li>The resulting equality semantics might not coincide with that of
- the underlying <code>T</code>; the possibility of this hapenning
- and making a real difference is probably small, though.
- </li>
- <li>The assumption that equal <code>flyweight</code> objects always
- share their value interfere with potential extensions to the
- library, like the
- <a href="http://lists.boost.org/Archives/boost/2007/12/131620.php">no-factory
- proposal</a> by Throsten Ottosen.
-</ul>
-Which option do you prefer, implementing equality of <code>fw1</code> and
-<code>fw2</code> as <code>&(fw1.get())==&(fw1.get())</code> (the current
-solution) or as <code>fw1.get()==fw1.get()</code>?
-</p>
-
-<h2><a name="simpler_config">Alternative/simpler configuration interface</a></h2>
-
-<p>
-An aim of Boost.Flyweight is to provide maximum customizability so as to
-meet everybody's needs from basic users to programmers with very
-specific requirements. To accomplish this goal the <code>flyweight</code>
-class template presents a very fine grained policy-based configuration
-interface. Peter Dimov has argued, however, that the interface
-between <code>flyweight</code> front-end and its implementation core
-could be made <a href="http://lists.boost.org/Archives/boost/2007/12/131684.php">much
-simpler</a> without resorting to such policy decomposition.
-</p>
-
-<p>
-A third alternative is to give credit to both approaches and blend them
-into a configuration interface like this:
-</p>
-
-<blockquote><pre>
-<span class=comment>// default configuration</span>
-<span class=keyword>typedef</span> <span class=identifier>flyweight</span><span class=special><</span><span class=identifier>T</span><span class=special>></span> <span class=identifier>fw_t1</span><span class=special>;</span>
-
-<span class=comment>// change core</span>
-<span class=keyword>typedef</span> <span class=identifier>flyweight</span><span class=special><</span><span class=identifier>T</span><span class=special>,</span><span class=identifier>shared_ptr_core</span><span class=special>></span> <span class=identifier>fw_t2</span><span class=special>;</span>
-
-<span class=comment>// change some aspect of the default core</span>
-<span class=keyword>typedef</span> <span class=identifier>flyweight</span><span class=special><</span><span class=identifier>T</span><span class=special>,</span><span class=identifier>default_core</span><span class=special><</span><span class=identifier>no_tracking</span><span class=special>></span> <span class=special>></span> <span class=identifier>fw_t3</span><span class=special>;</span>
-</pre></blockquote>
-
-<p>
-The policy-based configuration interface gets nested into a default
-core component, which alternatively can be entirely replaced
-by a custom core. This is maximally flexible, but complicates the
-design of the library and demands a slightly less terse syntax.
-What is your opinion on this issue?
-</p>
-
-<hr>
-
-<div class="prev_link"><a href="future_work.html"><img src="prev.gif" alt="future work" border="0"><br>
-Future work
-</a></div>
-<div class="up_link"><a href="index.html"><img src="up.gif" alt="index" border="0"><br>
-Index
-</a></div>
-<div class="next_link"><a href="acknowledgements.html"><img src="next.gif" alt="acknowledgements" border="0"><br>
-Acknowledgements
-</a></div><br clear="all" style="clear: all;">
-<br clear="all" style="clear: all;">
-
-<br>
-
-<p>Revised January 16th 2008</p>
-
-<p>© Copyright 2006-2008 Joaquín M López Muñoz.
-Distributed under the Boost Software
-License, Version 1.0. (See accompanying file <a href="../../../LICENSE_1_0.txt">
-LICENSE_1_0.txt</a> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">
-http://www.boost.org/LICENSE_1_0.txt>)
-</p>
-
-</body>
-</html>
Deleted: sandbox/flyweight/libs/flyweight/test/lambda_components.hpp
==============================================================================
--- sandbox/flyweight/libs/flyweight/test/lambda_components.hpp 2008-09-01 11:58:26 EDT (Mon, 01 Sep 2008)
+++ (empty file)
@@ -1,64 +0,0 @@
-/* Copyright 2006-2007 Joaquín M López Muñoz.
- * 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)
- *
- * See http://www.boost.org/libs/flyweight for library home page.
- */
-
-#ifndef BOOST_FLYWEIGHT_TEST_LAMBDA_COMPONENTS_HPP
-#define BOOST_FLYWEIGHT_TEST_LAMBDA_COMPONENTS_HPP
-
-#if defined(_MSC_VER)&&(_MSC_VER>=1200)
-#pragma once
-#endif
-
-#include <boost/config.hpp> /* keep it first to prevent nasty warns in MSVC */
-#include <boost/functional/hash.hpp>
-#include <boost/mpl/aux_/lambda_support.hpp>
-#include <functional>
-#include <set>
-
-/* Lambda-enabled replacements for some std:: and boost:: components.
- * These are not really necessary in conformant compilers.
- */
-
-template<typename T>
-struct lambda_greater:std::greater<T>
-{
- typedef lambda_greater type;
- BOOST_MPL_AUX_LAMBDA_SUPPORT(1,lambda_greater,(T))
-};
-
-template<typename T>
-struct lambda_equal_to:std::equal_to<T>
-{
- typedef lambda_equal_to type;
- BOOST_MPL_AUX_LAMBDA_SUPPORT(1,lambda_equal_to,(T))
-};
-
-template<typename T>
-struct lambda_hash:boost::hash<T>
-{
- typedef lambda_hash type;
- BOOST_MPL_AUX_LAMBDA_SUPPORT(1,lambda_hash,(T))
-};
-
-template<typename T>
-struct lambda_less:std::less<T>
-{
- typedef lambda_less type;
- BOOST_MPL_AUX_LAMBDA_SUPPORT(1,lambda_less,(T))
-};
-
-template<
- typename T,
- typename Compare=std::less<T>,typename Allocator=std::allocator<T>
->
-struct lambda_set:std::set<T,Compare,Allocator>
-{
- typedef lambda_set type;
- BOOST_MPL_AUX_LAMBDA_SUPPORT(3,lambda_set,(T,Compare,Allocator))
-};
-
-#endif
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