|
Boost-Commit : |
From: joel_at_[hidden]
Date: 2007-12-19 05:42:05
Author: djowel
Date: 2007-12-19 05:42:04 EST (Wed, 19 Dec 2007)
New Revision: 42167
URL: http://svn.boost.org/trac/boost/changeset/42167
Log:
tweakbug fix for end_impl (tweak).
Text files modified:
trunk/boost/fusion/adapted/struct/detail/end_impl.hpp | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Modified: trunk/boost/fusion/adapted/struct/detail/end_impl.hpp
==============================================================================
--- trunk/boost/fusion/adapted/struct/detail/end_impl.hpp (original)
+++ trunk/boost/fusion/adapted/struct/detail/end_impl.hpp 2007-12-19 05:42:04 EST (Wed, 19 Dec 2007)
@@ -9,7 +9,6 @@
#define BOOST_FUSION_END_IMPL_24122005_1755
#include <boost/fusion/adapted/struct/struct_iterator.hpp>
-#include <boost/fusion/adapted/struct/detail/size_impl.hpp>
namespace boost { namespace fusion
{
@@ -20,6 +19,9 @@
template <typename Tag>
struct end_impl;
+ template <typename Struct>
+ struct struct_size;
+
template <>
struct end_impl<struct_tag>
{
@@ -29,7 +31,7 @@
typedef
struct_iterator<
Sequence
- , size_impl<struct_tag>::template apply<Sequence>::value
+ , struct_size<Sequence>::value
>
type;
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