64,636
社区成员
发帖
与我相关
我的任务
分享
teplate<typename T>
void f(const T& t)
{
}
void g()
{
enum Week{Mon, Tue, Wed};
Week day = Mon;
f(day);
}
int main()
{}
int x[99];
void f()
{
struct x { int a; };
sizeof(x); /* size of the array in C */
/* size of the struct in C + + */
}
void f()
{
struct x { int a; };
sizeof(x); /* size of the array in C */
/* size of the struct in C + + */
}
template<typename T>
void f(const T& t)
{
}
enum Week{Mon, Tue, Wed};
void g()
{
Week day = Mon;
f(day);
}
int main()
{}