代码搜索:explicit

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

代码结果 10,000
www.eeworm.com/read/470720/1445759

c explicit69.c

//Build don't link: template class x {}; // ERROR - not a template instantiation
www.eeworm.com/read/470720/1445765

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/470720/1445767

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/470720/1445773

c explicit79.c

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

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/470720/1445805

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/470720/1445816

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/470720/1445846

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/470720/1445847

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/470720/1445855

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