How to use boost :: function with function with variable number of parameters?

0

In a library I use, a Z queue function expects a pointer to function with the following signature: typedef void (*func)(double, ...) . I want to write a class in such a way that I can pass an object of this class as parameter to Z .

I would know to use boost.function if func did not have the number of parameters varied.

I searched the internet, but I did not find a specific reference for this case. Does anyone know how to use boost.function in this case, or do you have any reference that can help me?

Thankful,    Rodrigo

    
asked by anonymous 10.09.2015 / 15:39

0 answers