cpp function

is there any function which can return parameter list of a function.
for example : get_param(f(int x,char y )) return parameter x-> int y-> char
and f_name ->f

if any one know how to achieve this plz help me.
No, there is no reflection in C++. Not until C++17 anyway.
thx for your replay.
can we implement it any way?
No, it is not possible, C++ does not support reflection and wasn't made for it. You can try different extensions like QT reflection (AFAIK only for QT objects) or Boost one (again, class only, classes should be created specifically to support it)
Topic archived. No new replies allowed.