代码搜索:explicit

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

代码结果 10,000
www.eeworm.com/read/240162/4581440

c explicit19.c

// { dg-do link } // { dg-options "-ansi -pedantic-errors -w" } // GROUPS passed templates template int foo(T t); template int foo(int i) { return 0; } int main() { return foo
www.eeworm.com/read/240162/4581461

c explicit66.c

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

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/240162/4581480

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/240162/4581482

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/240162/4581511

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/240162/4581513

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/240162/4581514

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/240162/4581517

c explicit77.c

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

c explicit15.c

// { dg-do assemble } // GROUPS passed templates template class Array; template class ArraySectionInfo { public: enum { rank = 0 }; }; template class SliceInfo