代码搜索:explicit

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

代码结果 10,000
www.eeworm.com/read/470693/1458198

c explicit19.c

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

c explicit66.c

void f(int) {} void f(double); template void foo() {} int main() { foo(); }
www.eeworm.com/read/470693/1458225

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/470693/1458238

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/470693/1458240

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/470693/1458269

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/470693/1458271

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/470693/1458272

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/470693/1458275

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/470693/1458278

c explicit15.c

// Build don't link: // GROUPS passed templates template class Array; template class ArraySectionInfo { public: enum { rank = 0 }; }; template class SliceInfo {