Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1894: fusion\support\tag_of.hpp, boost::fusion::traits
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-10-23 15:52:03
#1894: fusion\support\tag_of.hpp, boost::fusion::traits
--------------------------------------------------------+-------------------
Reporter: Mikhail Strelnikov <strelnikov_at_[hidden]> | Owner: djowel
Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: fusion
Version: Boost 1.35.0 | Severity: Problem
Resolution: | Keywords: deduce_sequence, mpl
--------------------------------------------------------+-------------------
Comment(by Mikhail Strelnikov <strelnikov_at_[hidden]>):
There is what I propose to change in 'boost/fusion/support/tag_of.hpp'
(I'm not sure if these changes are ideologically correct but all the
Boost::Fusion tests are passed with them):
{{{
Comparing files tag_of.hpp and TAG_OF.HPP_OLD
***** tag_of.hpp
struct tag_of
: mpl::if_< fusion::detail::is_mpl_sequence<Sequence>,
mpl::identity<mpl_sequence_tag>,
***** TAG_OF.HPP_OLD
struct tag_of
: mpl::if_< detail::is_mpl_sequence<Sequence>,
mpl::identity<mpl_sequence_tag>,
*****
***** tag_of.hpp
{
BOOST_MPL_ASSERT_NOT((fusion::detail::is_specialized<Sequence>));
};
***** TAG_OF.HPP_OLD
{
BOOST_MPL_ASSERT_NOT((detail::is_specialized<Sequence>));
};
*****
}}}
Thanks.
-- Ticket URL: <http://svn.boost.org/trac/boost/ticket/1894#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC