代码搜索:explicit

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

代码结果 10,000
www.eeworm.com/read/340665/3274151

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/340665/3274154

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/340665/3274160

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/340665/3274184

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/340665/3274196

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/340665/3274199

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/340665/3274201

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/340665/3274202

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/340665/3274206

c explicit69.c

//Build don't link: template class x {}; // ERROR - not a template instantiation
www.eeworm.com/read/340665/3274212

c explicit8.c

// Build don't link: // GROUPS passed templates template void foo(T t, U u); template void foo(double, U) {} void baz() { foo(3.0, "abc"); foo(