Replies: 1 comment 1 reply
-
Why do you need that? Can you provide more details on your use case? In D-Bus (just like in C++ or any other statically-typed language), methods are statically typed, i.e. the types or parameters as well as the types of return values are known at compile time. And when calling a D-Bus method (just like calling a C++ function), its signature must be known and adhered to. Calling a method/function without knowing what it returns is not possible. For the sake of completeness, you can use the basic API level -- sending and receiving messages, and the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm aware of the
storeResultsTo
function. However, the issue with this function is that it only accepts a variadic number of arguments, which I must determine at runtime. I want to detect the number of result parameters dynamically and store them in a container, such asstd::vector<std::variant<...>>
. How can I achieve this?Beta Was this translation helpful? Give feedback.
All reactions