64,642
社区成员
发帖
与我相关
我的任务
分享
template <size_t _Size>
int arrarycount(char (&_Dst)[_Size])
{
return _Size;
}
int main()
{
using namespace std;
char szchar[10];
int count = arrarycount(szchar);
cout<<count<<endl;
getchar();
return 0;
}