Boost logo

Boost :

From: Thomas Witt (witt_at_[hidden])
Date: 2002-03-02 12:44:25


Hi

While reading the tutorial i stumbled over:

boost::signal<int, int, int>::combiner<maximum<int> >::type sig_max;

The combiner syntax seems very misleading to me. Somebody new to the signal
library will assume a combiner and not a signal is declared. What about
renaming the nested class to with_combiner?

boost::signal<int, int, int>::with_combiner<maximum<int> >::type sig_max;

Thomas


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk