Task:
- Accept in function an indefinite number of elements with different types.
- Shove everything up in stringstream
Question:
- How to open a list of arguments and shove in stringstream?
Maybe you need to use other tools for this task? Please tell ostream which ones (please, ostream not offer the option with ostream )?
template<typename ... Arguments> void tfunc(const Arguments & ... args) { std::stringstream ss; //ss<<args; }