Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56709 - in trunk/boost/fusion: adapted/class container/vector/detail
From: joel_at_[hidden]
Date: 2009-10-11 00:00:01


Author: djowel
Date: 2009-10-11 00:00:00 EDT (Sun, 11 Oct 2009)
New Revision: 56709
URL: http://svn.boost.org/trac/boost/changeset/56709

Log:
Fix default construction of vector
Text files modified:
   trunk/boost/fusion/adapted/class/extension.hpp | 12 ------------
   trunk/boost/fusion/container/vector/detail/vector_n.hpp | 2 +-
   2 files changed, 1 insertions(+), 13 deletions(-)

Modified: trunk/boost/fusion/adapted/class/extension.hpp
==============================================================================
--- trunk/boost/fusion/adapted/class/extension.hpp (original)
+++ trunk/boost/fusion/adapted/class/extension.hpp 2009-10-11 00:00:00 EDT (Sun, 11 Oct 2009)
@@ -20,18 +20,6 @@
 
     template <typename Class, int N>
     struct class_member<Class const, N> : class_member<Class, N> {};
- //~ {
- //~ typedef typename class_member<Class, N>::type type;
- //~ typedef typename class_member<Class, N>::get_type get_type;
- //~ typedef typename class_member<Class, N>::proxy proxy;
-
- //~ static get_type&
- //~ call(Class const& class_)
- //~ {
- //~ return class_member<Class, N>::call(
- //~ const_cast<Class&>(class_));
- //~ }
- //~ };
 
     template <typename Class>
     struct class_size<Class const>

Modified: trunk/boost/fusion/container/vector/detail/vector_n.hpp
==============================================================================
--- trunk/boost/fusion/container/vector/detail/vector_n.hpp (original)
+++ trunk/boost/fusion/container/vector/detail/vector_n.hpp 2009-10-11 00:00:00 EDT (Sun, 11 Oct 2009)
@@ -9,7 +9,7 @@
 #if !defined(FUSION_MACRO_05042005)
 #define FUSION_MACRO_05042005
 
-#define FUSION_MEMBER_DEFAULT_INIT(z, n, _) m##n(T##n())
+#define FUSION_MEMBER_DEFAULT_INIT(z, n, _) m##n()
 #define FUSION_MEMBER_INIT(z, n, _) m##n(_##n)
 #define FUSION_COPY_INIT(z, n, _) m##n(other.m##n)
 #define FUSION_MEMBER_DECL(z, n, _) T##n m##n;


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