如何定义纯虚类内部的函数模板啊

怎么定义纯虚类内部的函数模板啊?
class KiteIOClient
{
public:
    virtual ~KiteIOClient() = 0;
    virtual void send(int cmdType, const protobuf::MessageLite& message) = 0;
    virtual template<typename T> shared_ptr<T> sendAndGet(int cmdType, const protobuf::MessageLite &message) = 0;
    virtual void registerListener(remotingListener listener)  = 0;
    virtual void start() throw (std::exception)  = 0;
    virtual bool reconnect()  = 0;
    virtual bool isDead()  =0;
    virtual void close()  = 0;
    virtual const string &getServerUrl()  = 0;
    virtual std::set<string>& getAcceptedTopics() = 0;
    virtual bool handshake() = 0;
};


编译报错:
remoting/client/KiteIOClient.h:15:13: 错误:expected unqualified-id before ‘template’
     virtual template<typename T> shared_ptr<T> sendAndGet(int cmdType, const protobuf::MessageLite &message) = 0;


------解决思路----------------------
模板函数不能是虚函数
------解决思路----------------------
函数模板不能是虚函数:

1、当模板类的某个成员函数被调用时,模板类被实例化。
2、在实例化这个模板类时,需要创建vertual table。
3、在模板类被实例化完成之前不能确定函数模板(包括虚函数模板,加入支持的话)会被实例化多少个。
4、普通成员函数模板无所谓,什么时候需要什么时候就给你实例化,编译器不用知道到底需要实例化多少个,虚函数的个数必须知道,否则这个类就无法被实例化(因为要创建virtual table)。因此,目前不支持虚函数模板。