Boost Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Signal Review




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