代码搜索:struct

找到约 10,000 项符合「struct」的源代码

代码结果 10,000
www.eeworm.com/read/162614/5519167

c lookup6.c

struct S { template static void g(); }; template void f() { return S::template g(); } void g() { f(); }
www.eeworm.com/read/162614/5519220

c ctor6.c

// PR c++/25663 template struct A { A(int); }; void foo() { A(A(0)); }
www.eeworm.com/read/162614/5519268

c static24.c

template struct A; template struct A { static const char i = 1; }; template struct B { static const int j = A::i; static const int k = int(j); int x[k]; };
www.eeworm.com/read/162614/5519321

c class1.c

extern const int a; template class X {}; template struct Y { X x; }; template struct Y;
www.eeworm.com/read/162614/5519379

c ptrmem9.c

// PR c++/15329 struct S {}; template struct X { S s; void foo (void (S::*p)()) { (s.*p)(); } };
www.eeworm.com/read/162614/5519418

c crash4.c

namespace NS { struct C {}; void foo(); } template struct X {}; template struct A { A() { foo (X()); } void foo(X); }; template struct A;
www.eeworm.com/read/162614/5519425

c complit1.c

// { dg-options "" } template struct C { int d[3]; C(); }; template C::C() : d((int[]){1,2,3}) {} template class C;
www.eeworm.com/read/162614/5519438

c explicit2.c

struct X { template void foo(B); }; template void bar() { X().foo(1); } template void bar ();
www.eeworm.com/read/162614/5519644

cc comdat2-aux.cc

template struct S { static int f () { static int i; return ++i; } S () {}; ~S () {}; }; typedef S a; int g () { return a::f(); }
www.eeworm.com/read/162614/5526716

c 921112-1.c

union u { struct { int i1, i2; } t; double d; } x[2], v; f (x, v) union u *x, v; { *++x = v; } main() { x[1].t.i1 = x[1].t.i2 = 0; v.t.i1 = 1; v.t.i2 = 2; f (x, v); if (x[1].t.i