$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r62339 - sandbox/transaction/boost/transact
From: strasser_at_[hidden]
Date: 2010-05-30 21:07:35
Author: stefans
Date: 2010-05-30 21:07:24 EDT (Sun, 30 May 2010)
New Revision: 62339
URL: http://svn.boost.org/trac/boost/changeset/62339
Log:
fix for 62338
Removed:
   sandbox/transaction/boost/transact/type_selection.hpp
Text files modified: 
   sandbox/transaction/boost/transact/basic_transaction_manager.hpp |     1 -                                       
   1 files changed, 0 insertions(+), 1 deletions(-)
Modified: sandbox/transaction/boost/transact/basic_transaction_manager.hpp
==============================================================================
--- sandbox/transaction/boost/transact/basic_transaction_manager.hpp	(original)
+++ sandbox/transaction/boost/transact/basic_transaction_manager.hpp	2010-05-30 21:07:24 EDT (Sun, 30 May 2010)
@@ -563,7 +563,6 @@
     typedef typename detail::transaction transaction;
     typedef typename detail::resource_types resource_types;
 
-    //TODO evtl. nicht-konstruierbar machen und log anders starten?
     /// A basic_transaction_manager constructed using this constructor
     /// is not able to commit transactions that involve two or more persistent
     /// resource managers, i.e. that require a two phase commit protocol.
Deleted: sandbox/transaction/boost/transact/type_selection.hpp
==============================================================================
--- sandbox/transaction/boost/transact/type_selection.hpp	2010-05-30 21:07:24 EDT (Sun, 30 May 2010)
+++ (empty file)
@@ -1,59 +0,0 @@
-//          Copyright Stefan Strasser 2010.
-// 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_TRANSACT_TYPE_SELECTION_HPP
-#define BOOST_TRANSACT_TYPE_SELECTION_HPP
-
-#include <boost/assert.hpp>
-#include <boost/mpl/size.hpp>
-#include <boost/mpl/at.hpp>
-
-namespace boost{
-namespace transact{
-
-template<class Sequence>
-class type_selection{
-public:
-    explicit type_selection(unsigned int wh) : which_(wh){
-        BOOST_ASSERT(wh < (unsigned int)(mpl::size<Sequence>::value));
-    }
-    void reset(unsigned int wh){
-        BOOST_ASSERT(wh < (unsigned int)(mpl::size<Sequence>::value));
-        this->which_=wh;
-    }
-    template<class Visitor>
-    typename Visitor::result_type apply_visitor(Visitor const &v) const{
-        return this->apply_visitor<0>(v);
-        //detail::type_selection_visitor<Sequence,0,mpl::size<Sequence>::value> visit;
-        //visit(v,this->which_);
-    }
-    unsigned int which() const{ return this->which_; }
-private:
-    template<std::size_t N,class Visitor>
-    typename Visitor::result_type apply_visitor(Visitor const &v) const{
-        return this->apply_visitor<N>(v,mpl::bool_<N == std::size_t(mpl::size<Sequence>::value)>());
-    }
-    template<std::size_t N,class Visitor>
-    typename Visitor::result_type apply_visitor(Visitor const &v,mpl::false_) const{
-        if(this->which_ == N){
-            return v.template operator()<typename mpl::at_c<Sequence,N>::type>();
-        }else return this->apply_visitor<N+1>(v);
-    }
-    template<std::size_t N,class Visitor>
-    typename Visitor::result_type apply_visitor(Visitor const &,mpl::true_) const{
-        BOOST_ASSERT(false);
-    }
-
-    unsigned int which_;
-};
-
-
-
-}
-}
-
-
-#endif
\ No newline at end of file