template specialization for static member functions; howto?

后端 未结 5 889
情歌与酒
情歌与酒 2021-02-05 19:03

I am trying to implement a template function with handles void differently using template specialization.

The following code gives me an \"Explicit specialization in non

5条回答
  •  孤城傲影
    2021-02-05 19:42

    I had a similar problem. If you look at the original post, I left the first static in, but took out the second and BOTH errors went away.

提交回复
热议问题