代码搜索:explicit

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

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

c explicit65.c

extern "C" void abort (); template void f () { abort (); } template void f () { abort (); } template void f (int) { abort (); } template void f (int) {
www.eeworm.com/read/470720/1446292

c explicit51.c

extern "C" void abort (); template int fact () { return 0; } template int fact () { return 1; } int main() { if (fact () != 0 || fact () != 1 || fact () != 0 || f
www.eeworm.com/read/470720/1446294

c explicit73.c

// Build don't link: // by Alexandre Oliva // According to [temp.expl.spec]/2, a template explicit specialization // must be declared in the namespace that contains the declar
www.eeworm.com/read/470720/1446323

c explicit42.c

extern "C" void abort(void); template void f(int i) { } template void f(int i) { abort(); } int main() { f(3); }
www.eeworm.com/read/470720/1446325

c explicit34.c

// Build don't link: // GROUPS passed templates template void foo(T t); template void foo(int) {}; // ERROR - previously defined here. template void foo(int) {} // ERROR - dupli
www.eeworm.com/read/470720/1446326

c explicit61.c

extern "C" void abort (); template void f (); template void g () { abort (); } template void g () { abort (); } template class C { public: void ff (
www.eeworm.com/read/470720/1446329

c explicit77.c

// Build don't link: template struct S {}; template struct S : public S, S {}; template void f(S, S
www.eeworm.com/read/470720/1446332

c explicit15.c

// Build don't link: // GROUPS passed templates template class Array; template class ArraySectionInfo { public: enum { rank = 0 }; }; template class SliceInfo {
www.eeworm.com/read/470720/1446333

c explicit58.c

extern "C" void abort (); template void f (); template void g () { abort (); } template void g () { abort (); } template class C { public: template
www.eeworm.com/read/470720/1446335

c explicit26.c

// Build don't run: // GROUPS passed templates template int foo(T t) { return 1; } template int foo(int i) { return 0; } int main() { (int (*)(int)) &foo; }