Boost logo

Boost :

From: Pavel Chikulaev (pavel.chikulaev_at_[hidden])
Date: 2005-03-11 07:34:45

"Tobias Schwinger" <tschwinger_at_[hidden]> wrote in message
>> is_same<
>> function_type_parameters< void(int,float) >::signal_type,
>> signal2<void, int, float>
> It is possible already:
No. You can unpack arguments, but you can't choose signal2
or signal3 and so on.

> IIRC there is no version of signal taking an MPL-Sequence.
> 'signal<my_function>' should work, though.

I meant a bit another thing.

//From your examples:
typedef void my_function(int);

typedef function_type_signature<my_function> my_signature;

typedef mpl::push_back<my_signature,float>::type my_modified_signature;

boost::signal<my_modified_signature::representee>. == boost::signal<void (int,
//You can't do the same for signalN!!!!!

Pavel Chikulaev 

Boost list run by bdawes at, gregod at, cpdaniel at, john at