i would appreciate help with the following problem: Please consider the code
Code:
#include <iostream>
using namespace std;
template<typename T> struct A{};
template<typename T> struct B: public A<T>{};
template<typename T> void f(T obj){ cout << "default\n"; }
template<typename T> void f(A<T> obj){ cout << "special