C++ function call with the parameters unknown at compile time -


As soon as it looks strange, I have to call the function in C ++, for which I do not know the signature. In fact, I want to let the user specify a list of logic, and logic types, and then try to call a given function with these arguments. I would like to know if the function call is working or not, and if (miraculously), what is the return value (provided that the return type is zero). Is there any way to do this? Thank you.

Take a list of your function variable data types, e.g. std :: vector & lt; Boost :: any & gt; and leave an exception by denying them a bool return or failure.

If you are right, entering the highlighted works in the compilation of time, you do not have to keep that restriction on your work and instead you can generate gum codes for the necessary conversions.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -