代码搜索:explicit
找到约 10,000 项符合「explicit」的源代码
代码结果 10,000
www.eeworm.com/read/340665/3274618
c explicit57.c
extern "C" void abort ();
int a = 0;
template void f ();
template void g ()
{
if (a)
abort ();
}
template void g ()
{
}
template class C
{
public:
www.eeworm.com/read/340665/3274625
c explicit16.c
// Build don't link:
// GROUPS passed templates
template
class Array;
template
class ArraySectionInfo {
public:
enum { rank = 0 };
};
template
class SliceInfo {
www.eeworm.com/read/340665/3274634
c explicit20.c
// Build don't link:
// GROUPS passed templates
template
T foo(T t);
template
int foo(char c); // ERROR - does not match any template declaration
www.eeworm.com/read/340665/3274645
c explicit28.c
// Build don't run:
// GROUPS passed templates
template
int foo(T t) { return 1; }
template
int foo(int i) { return 0; }
int main()
{
return (*((int (*)(int)) &foo))(3);
}
www.eeworm.com/read/340665/3274651
c explicit54.c
extern "C" void abort ();
template inline int fact2 ();
template inline int fact ()
{
return a * fact2 ();
}
template inline int fact ()
{
return 1;
}
template
www.eeworm.com/read/340665/3274666
c explicit37.c
// Build don't run:
// GROUPS passed templates
class ostream {};
template
class S;
template
void operator
www.eeworm.com/read/340665/3274699
c explicit19.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
www.eeworm.com/read/340665/3274720
c explicit66.c
void f(int) {}
void f(double);
template
void foo() {}
int main()
{
foo();
}
www.eeworm.com/read/340665/3274726
c explicit65.c
extern "C" void abort ();
template void f ()
{
abort ();
}
template void f ()
{
abort ();
}
template void f (int)
{
abort ();
}
template void f (int)
{
www.eeworm.com/read/340665/3274739
c explicit51.c
extern "C" void abort ();
template int fact ()
{
return 0;
}
template int fact ()
{
return 1;
}
int main()
{
if (fact () != 0 || fact () != 1
|| fact () != 0 || f