[Boost-bugs] [Boost C++ Libraries] #3522: GroupComp ignored in signal (slots always executed in the same order)

Subject: [Boost-bugs] [Boost C++ Libraries] #3522: GroupComp ignored in signal (slots always executed in the same order)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-10-13 07:03:44


#3522: GroupComp ignored in signal (slots always executed in the same order)
----------------------------------------------------+-----------------------
 Reporter: Oliver Kowalke <oliver.kowalke@…> | Owner: fmhess
     Type: Bugs | Status: new
Milestone: Boost 1.41.0 | Component: signals2
  Version: Boost 1.40.0 | Severity: Showstopper
 Keywords: group signal less greater GroupComp |
----------------------------------------------------+-----------------------
 GroupComp is ignored - slots will be executed always in the same order -
 no matter if std::less or std::greater is used:

 boost::signals2::signal<
   void(),
   boost::signals2::optional_last_value< void >,
   int,
   std::greater< int > // std::less< int >
> sig;

 sig.connect( 0, boost::bind( c) );
 sig.connect( 2, boost::bind( a) );
 sig.connect( 1, boost::bind( b) );

 sig();

 ->#
 c
 b
 a

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