Subject: Re: [Boost-users] [boost::function] Is there a way to assign a generic function, regardless number of parameters?
From: Igor R (boost.lists_at_[hidden])
Date: 2010-01-28 09:48:54


> What we want to do is something like is done in the asynchronous methods of boost::asio when passing the callback to the async operation.

In asio the callback (i.e. completion handler) has very specific
prototype, it does not accept "any number of parameters".