Comparing typenames in C++

前端 未结 5 1404
孤独总比滥情好
孤独总比滥情好 2021-02-13 18:13

I typed this into a template function, just to see if it would work:

if (T==int)

and the intellisense didn\'t complain. Is this valid C++? What

5条回答
提交回复
热议问题