代码搜索:explicit

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

代码结果 10,000
www.eeworm.com/read/240162/4581035

c explicit71.c

// { dg-do assemble } // by Alexandre Oliva // Based on a testcase by Reid M. Pinchback // According to the C++ Standard [temp.expl.spec]/17-18, explicit // sp
www.eeworm.com/read/240162/4581036

c explicit33.c

// { dg-do assemble } // GROUPS passed templates template void foo(T t); template void foo(int) {} void foo(int) {}
www.eeworm.com/read/240162/4581044

c explicit76.c

// { dg-do assemble { xfail *-*-* } } // Based on bug report by Simon A. Crase struct foo { template void bar(); }; template void foo::bar(); // { dg-bogus ""
www.eeworm.com/read/240162/4581053

c explicit52.c

// { dg-do run } extern "C" void abort (); template inline int fact () { return a * fact (); } template inline int fact () { return 1; } int main() { if (fact () != 6 |
www.eeworm.com/read/240162/4581059

c explicit5.c

// { dg-do assemble } // GROUPS passed templates template void foo(T t) {} template struct S {}; template void bar(T t) { void (*f)(S ) = &foo; } void ba
www.eeworm.com/read/240162/4581065

c explicit78.c

// { dg-do assemble } template struct A { }; template struct B { operator A (); operator B (); }; template void f(B); template vo
www.eeworm.com/read/240162/4581101

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/240162/4581114

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/240162/4581132

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/240162/4581136

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 ()