代码搜索:explicit

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

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

c explicit11.c

// { dg-do assemble } // GROUPS passed templates template void foo(T t); template struct S {}; int main() { S si; foo(si); }
www.eeworm.com/read/162614/5520379

c explicit36.c

// { dg-do link } // GROUPS passed templates template void foo(T); class S { friend void foo(int); int i; }; template void foo(int) { S s; s.i = 3; } int main() { foo(3
www.eeworm.com/read/162614/5520397

c explicit30.c

// { dg-do assemble } // GROUPS passed templates template void foo(T, T*); void bar() { double d; (*((void (*)(int, double*)) (void (*)(int, int*)) &foo))(3, &d); }
www.eeworm.com/read/162614/5520401

c explicit50.c

// { dg-do run } extern "C" void abort (); template int f () { return sizeof(T); } int main () { if (f () != sizeof(long) || f () != sizeof(char) || f ()
www.eeworm.com/read/162614/5520405

c explicit53.c

// { dg-do run } extern "C" void abort (); template inline int fact (); template inline int fact (); template inline int fact () { return a * fact (); } template in
www.eeworm.com/read/162614/5520440

c explicit32.c

// { dg-do assemble } // GROUPS passed templates template struct S { }; template struct S { void foo(); }; void S::foo() { } void bar() { S si; si.foo(); }
www.eeworm.com/read/162614/5520454

c explicit9.c

// { dg-do assemble } // GROUPS passed templates void foo(int); void bar() { foo(3); // { dg-error "" } foo is not a template. }
www.eeworm.com/read/162614/5520457

c explicit39.c

// { dg-do assemble } template void f(int i); void g() { f(3); // { dg-error "" } no matching function. }
www.eeworm.com/read/162614/5520469

c explicit27.c

// { dg-do link } // GROUPS passed templates template void foo(T t); template void foo(int i) {} int main() { (void (*)(int)) &foo; }
www.eeworm.com/read/162614/5520472

c explicit40.c

// { dg-do run } extern "C" void abort(); template void f(int j); template void f(int j); template void f(int j) { abort(); } template vo