代码搜索:explicit

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

代码结果 10,000
www.eeworm.com/read/440906/1775774

c explicit1.c

// Build don't link: // GROUPS passed templates template void foo(T t) {} void bar() { (void (*)(double)) &foo; }
www.eeworm.com/read/440906/1775783

c explicit56.c

template T* create (); template T* create2() { return create(); } template T* create () { return new T; } int main() { int *p = create2(); }
www.eeworm.com/read/440906/1775786

c explicit72.c

// Build don't link: // Contributed by Reid M. Pinchback // Adapted by Alexandre Oliva // plain char, signed char and unsigned char are distinct types template
www.eeworm.com/read/440906/1775792

c explicit4.c

// Build don't link: // 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/440906/1775816

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

c explicit23.c

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

c explicit10.c

// Build don't link: // GROUPS passed templates // Special g++ Options: -ansi -pedantic-errors -w template void foo(T t); int main() { foo(3.0); }
www.eeworm.com/read/440906/1775833

c explicit6.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 foo
www.eeworm.com/read/440906/1775834

c explicit67.c

struct S { void f(int); void f(double); }; void g(int); void g(double); template void foo(); template void foo(); void bar() { foo(); // ERROR - no matching function
www.eeworm.com/read/440906/1775838

c explicit69.c

//Build don't link: template class x {}; // ERROR - not a template instantiation