I'm calling a function from some class which is a member of another class.
This function parses some data and sets 3 strings (objects).
Now I wonder what is the best way to pass back data to the place where this function is being called? It would be cool to be able to return 3 values but unfortunately this isnt possible so the other option is to make a struct/class with there 3 members and return it.
Is there any better option?
What do you think is the best approach for solving this problem?
Maybe using boost::tuple which is basicaly a multi-pair?
Thanks for help