mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-23 00:57:20 +02:00
tweakbug fix for end_impl (tweak).
[SVN r42167]
This commit is contained in:
@ -9,7 +9,6 @@
|
|||||||
#define BOOST_FUSION_END_IMPL_24122005_1755
|
#define BOOST_FUSION_END_IMPL_24122005_1755
|
||||||
|
|
||||||
#include <boost/fusion/adapted/struct/struct_iterator.hpp>
|
#include <boost/fusion/adapted/struct/struct_iterator.hpp>
|
||||||
#include <boost/fusion/adapted/struct/detail/size_impl.hpp>
|
|
||||||
|
|
||||||
namespace boost { namespace fusion
|
namespace boost { namespace fusion
|
||||||
{
|
{
|
||||||
@ -20,6 +19,9 @@ namespace boost { namespace fusion
|
|||||||
template <typename Tag>
|
template <typename Tag>
|
||||||
struct end_impl;
|
struct end_impl;
|
||||||
|
|
||||||
|
template <typename Struct>
|
||||||
|
struct struct_size;
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
struct end_impl<struct_tag>
|
struct end_impl<struct_tag>
|
||||||
{
|
{
|
||||||
@ -29,7 +31,7 @@ namespace boost { namespace fusion
|
|||||||
typedef
|
typedef
|
||||||
struct_iterator<
|
struct_iterator<
|
||||||
Sequence
|
Sequence
|
||||||
, size_impl<struct_tag>::template apply<Sequence>::value
|
, struct_size<Sequence>::value
|
||||||
>
|
>
|
||||||
type;
|
type;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user