@alexmarsev Please let me know if you can achieve this with variadic templates as you sugested.
I'm open to new ideas.