Hi!
I have sucha situation:
Code:
class a
{
        vector<int> v1;
        vector<some_type> v2;
        vector<some_type2> v3;
public: 
        template <class T> void f(T a)
        {
                // here I would like to check T if it is int,
                // and if it is then do v1.push_back(a);
                // and do the same if T is some_type or some_type2
        }
};
Is is possible to do something like this ?
Best regards.