开发者

Syntax of out-of-class definition of a template member function of a template class

template<typename A, typename B>
class mindF_ck
{
    template<typename C>
    inline bool ouch(C & c_in);    
}开发者_运维问答;

How do I define the signature for ouch out-of-class ? I send a query to my brain but it keeps coming up blank ;)


template<typename A, typename B>
template<typename C>
bool mindf_uck<A,B>::ouch(C & c_in) {
}


template <typename A, typename B>
  template <typename C>
bool mindf_ck<A, B>::ouch(C& c_in) {
    // ... code ...
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜