template<typename... Args>
void callJavaScript(const Args&... args) {
// TO-DO
}
callJavaScript({
console.log("Hello World")
})
Is it possible to accomplish something like this with Variadic templates (with/without Macro hack)?
Instead
callJavaScript("{
console.log('Hello World')
}")
I want
callJavaScript({
console.log("Hello World")
})
Aucun commentaire:
Enregistrer un commentaire