代码搜索:explicit

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

代码结果 10,000
www.eeworm.com/read/440906/1775844

c explicit8.c

// Build don't link: // GROUPS passed templates template void foo(T t, U u); template void foo(double, U) {} void baz() { foo(3.0, "abc"); foo(
www.eeworm.com/read/440906/1775846

c explicit43.c

extern "C" void abort(void); void F(int) { } void F(double) { abort(); } template void g() { (*F)(3); } int main() { g(); }
www.eeworm.com/read/440906/1775852

c explicit79.c

// Build don't link: template void f(int (*)[I] = 0); template void f(); void g() { f(); }
www.eeworm.com/read/440906/1775874

c explicit80.c

// Bug: We were complaining about explicit instantiation of A::B. // Build don't link: template struct A { public: ~A() { }; class B; }; class A::B { }; template class A
www.eeworm.com/read/440906/1775884

c explicit74.c

// Reduced from a testcase by Yotam Medini // egcs 1.1 seems to generate code that deletes a NULL pointer. template struct foo { void fuz(); ~foo(); }; struct baz
www.eeworm.com/read/440906/1775895

c explicit18.c

// Build don't run: // GROUPS passed templates // Special g++ Options: -ansi -pedantic-errors -w template int foo(T t) { return 0; } int foo(int i); int main() { return foo(3.0); }
www.eeworm.com/read/440906/1775925

c explicit71.c

// Build don't link: // by Alexandre Oliva // Based on a testcase by Reid M. Pinchback // According to the C++ Standard [temp.expl.spec]/17-18, explicit // spec
www.eeworm.com/read/440906/1775926

c explicit33.c

// Build don't link: // GROUPS passed templates template void foo(T t); template void foo(int) {}; void foo(int) {}
www.eeworm.com/read/440906/1775934

c explicit76.c

// Build don't link: // Based on bug report by Simon A. Crase // crash test - XFAIL *-*-* struct foo { template void bar(); }; template void foo::bar(); // get
www.eeworm.com/read/440906/1775943

c explicit52.c

extern "C" void abort (); template inline int fact () { return a * fact (); } template inline int fact () { return 1; } int main() { if (fact () != 6 || fact () != 1