代码搜索:explicit

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

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

c explicit3.c

// { dg-do compile } // Copyright (C) 2003 Free Software Foundation, Inc. // Contributed by Nathan Sidwell 27 Jul 2003 // Failed to spot specialization using a template-id
www.eeworm.com/read/240162/4580182

c explicit-instantiation.c

// Contributed by Gabriel Dos Reis // Origin: Jens.Maurer@gmx.net // { dg-do compile } // Fixed: PR 3381 namespace N { template class A { }; } template class ::N
www.eeworm.com/read/240162/4580220

c explicit2.c

struct X { template void foo(B); }; template void bar() { X().foo(1); } template void bar ();
www.eeworm.com/read/240162/4580348

c explicit1.c

// { dg-do assemble } // Origin: Jason Merrill struct A { A (); explicit A (int); }; int main () { const A& r = 1; // { dg-error "" } no suitable constructor }
www.eeworm.com/read/240162/4580884

c explicit1.c

// { dg-do assemble } // GROUPS passed templates template void foo(T t) {} void bar() { (void (*)(double)) &foo; }
www.eeworm.com/read/240162/4580893

c explicit56.c

// { dg-do run } template T* create (); template T* create2() { return create(); } template T* create () { return new T; } int main() { int *p = create2
www.eeworm.com/read/240162/4580896

c explicit72.c

// { dg-do assemble } // Contributed by Reid M. Pinchback // Adapted by Alexandre Oliva // plain char, signed char and unsigned char are distinct types templa
www.eeworm.com/read/240162/4580902

c explicit4.c

// { dg-do assemble } // GROUPS passed templates template void foo(T t); template struct S {}; template void bar(T t) { void (*f)(S ) = &foo; } void baz(
www.eeworm.com/read/240162/4580926

c explicit60.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/4580938

c explicit23.c

// { dg-do link } // { dg-options "-ansi -pedantic-errors -w" } // GROUPS passed templates template int foo(T t) { return 1; } template int foo(int i) { return 0; } int main() {