Boost logo

Boost Users :

From: chun ping wang (cablepuff_at_[hidden])
Date: 2006-05-10 02:22:48


Hmm i have a question, are there ways to get names of the function from
boost::function..

example i have

void printfuncname(boost::function<void(int)> func)
{
    do some code to print its name.
}

int main()
{
    boost::function<void(int)> voidint
    voidint = &somefunc;
    printfuncname(func);
}

Thanks...



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net