开发者

template specialization round-lambda notation

template <class T, class I> struct A;  //EDIT:    template <cla开发者_JS百科ss T> struct A; : OK

template <class T, class I>
struct A<T(I)>
{

};


void main()
{
    A< int(char) > b;
}

This code doesn't compile. WHere is the mistake ? THanks


template <class T> struct A; and no template <class T,class I> struct A;

sorry to answer myself but perhaps that will useful for other users

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜