代码搜索:explicit

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

代码结果 10,000
www.eeworm.com/read/366702/2870334

c explicit66.c

// { dg-do run } void f(int) {} void f(double); template void foo() {} int main() { foo(); }
www.eeworm.com/read/366702/2870340

c explicit65.c

// { dg-do run } extern "C" void abort (); template void f () { abort (); } template void f () { abort (); } template void f (int) { abort (); } template voi
www.eeworm.com/read/366702/2870353

c explicit51.c

// { dg-do run } extern "C" void abort (); template int fact () { return 0; } template int fact () { return 1; } int main() { if (fact () != 0 || fact () != 1 || fa
www.eeworm.com/read/366702/2870355

c explicit73.c

// { dg-do assemble } // by Alexandre Oliva // According to [temp.expl.spec]/2, a template explicit specialization // must be declared in the namespace that contains the decl
www.eeworm.com/read/366702/2870384

c explicit42.c

// { dg-do run } extern "C" void abort(void); template void f(int i) { } template void f(int i) { abort(); } int main() { f(3); }
www.eeworm.com/read/366702/2870386

c explicit34.c

// { dg-do assemble } // GROUPS passed templates template void foo(T t); template void foo(int) {}; // { dg-error "" } previously defined here. template void foo(int) {} // { d
www.eeworm.com/read/366702/2870387

c explicit61.c

// { dg-do run } extern "C" void abort (); template void f (); template void g () { abort (); } template void g () { abort (); } template class C { pub
www.eeworm.com/read/366702/2870390

c explicit77.c

// { dg-do assemble } template struct S {}; template struct S : public S, S {}; template void f(S, S
www.eeworm.com/read/366702/2870393

c explicit15.c

// { dg-do assemble } // GROUPS passed templates template class Array; template class ArraySectionInfo { public: enum { rank = 0 }; }; template class SliceInfo
www.eeworm.com/read/366702/2870394

c explicit58.c

// { dg-do run } extern "C" void abort (); template void f (); template void g () { abort (); } template void g () { abort (); } template class C { pub