[Boost-bugs] [Boost C++ Libraries] #5741: Declare sequence_index as non-copyable

Subject: [Boost-bugs] [Boost C++ Libraries] #5741: Declare sequence_index as non-copyable
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-07-29 11:38:24


#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
 Keywords: |
----------------------------------------------------+-----------------------
 Based on this thread : http://lists.boost.org/boost-
 users/2011/07/69718.php

 sequence_index should be declared as non-copyable to allow BOOST_FOREACH
 to iterate over it.

 Michel Morin gave a solution: http://lists.boost.org/boost-
 users/2011/07/69722.php
 {{{
 namespace boost {
 namespace foreach {
 template<typename SuperMeta,typename TagList>
   struct is_noncopyable<
 boost::multi_index::detail::sequenced_index<SuperMeta, TagList> > :
 mpl::true_
   {};
 }
 }
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5741>
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