Recasting Variadic Arguments from void** Array in C++
I’m working on a project where I need to convert variadic arguments into a void** array, pass them to a lambda function, and then correctly cast them back to their original types for use in a custom function. While I can successfully create the void** array, I’m having trouble correctly expanding and casting the variadic arguments back to their original types inside the lambda function.
The custom function is intended to process these arguments, but incorrect values are being produced, indicating an issue with how I’m handling the void** array and the subsequent casts.