Being stuck in TR1 land, for a test program I need to perform certain operations on a number of objects of specific types. I have a couple of tuple type definitions which look like this:
typedef std::tr1::tuple< bool
, signed char
, signed short
, signed int
, signed long long
, unsigned char
, unsigned short
, unsigned int
, unsigned long long > integral_types;
From each tuple type an object is to be created. I then have function templates similar to this:
template<typename T>
void invoke_operation_1(T& obj);
These need to be called for all objects in a tuple object.
How do I do that in C++03?