I would like to create a remote procedure call to a function that returns a "std::tuple<int, std::string>", but when I try this I get an error stating that:
"The 'convert' function has not been specialized for this type. Either provide a 'convert' free function specialization, or a 'convert' member function." originating from
cppwamp/internal/conversion.ipp line 246.
I can imagine that it is impossible to pre-define functions to to convert any return type to something that can be processed and I think it is great that the most common types are already supported, but now I would like to know what I should do to add support for my std::tuple<int, std::string> and future less common return values.
Could anyone that has done this before please tell me what to do or where to look for some examples?
Kind regards, Nico