vendredi 29 mai 2015

How to make function or macros for any count of arguments with any types?

There are client and server. I send and receive data using boost::serialization. Often several arguments with different types send. Are there ways to make function or macros for this?

For example send(argType1, argType2, argType3);

I think i will not send more then 5 arguments for one time.

Aucun commentaire:

Enregistrer un commentaire