Opened 13 years ago

Closed 13 years ago

#3522 closed Bugs (fixed)

GroupComp ignored in signal (slots always executed in the same order)

Reported by: Oliver Kowalke <oliver.kowalke@…> Owned by: Frank Mori Hess
Milestone: Boost 1.41.0 Component: signals2
Version: Boost 1.40.0 Severity: Showstopper
Keywords: group signal less greater GroupComp Cc:

Description

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

Change History (2)

comment:1 by Frank Mori Hess, 13 years ago

(In [56804]) Added test for bug reported in ticket #3522, which was fixed with [56802]. Refs #3522.

comment:2 by Frank Mori Hess, 13 years ago

Resolution: fixed
Status: newclosed

(In [56861]) Merged some bug fixes from trunk to release. Closes #3522.

Note: See TracTickets for help on using tickets.