Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5741: Declare sequence_index as non-copyable
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-07-30 13:14:32
#5741: Declare sequence_index as non-copyable
-----------------------------------------------------+----------------------
Reporter: Maxime van Noppen <maxime@â¦> | Owner: joaquin
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: multi_index
Version: Boost 1.47.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------------------------+----------------------
Comment (by Michel MORIN <mimomorin@â¦>):
Follow up:
The fix (to tell `BOOST_FOREACH` to avoid coping `sequenced_index`) needs
forward declaration of `foreach::is_noncopyable`.
{{{
namespace boost{ namespace foreach{
template<typename T> struct is_noncopyable; // forward declaration
template<typename SuperMeta,typename TagList>
struct is_noncopyable<
multi_index::detail::sequenced_index<SuperMeta, TagList>
>:mpl::true_
{
};
}}
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5741#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:50:07 UTC