代码搜索:explicit
找到约 10,000 项符合「explicit」的源代码
代码结果 10,000
www.eeworm.com/read/190666/5174082
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
www.eeworm.com/read/190666/5174084
c explicit73.c
// Build don't link:
// by Alexandre Oliva
// According to [temp.expl.spec]/2, a template explicit specialization
// must be declared in the namespace that contains the declar
www.eeworm.com/read/190666/5174113
c explicit42.c
extern "C" void abort(void);
template
void f(int i)
{
}
template
void f(int i)
{
abort();
}
int main()
{
f(3);
}
www.eeworm.com/read/190666/5174115
c explicit34.c
// Build don't link:
// GROUPS passed templates
template
void foo(T t);
template
void foo(int) {}; // ERROR - previously defined here.
template
void foo(int) {} // ERROR - dupli
www.eeworm.com/read/190666/5174116
c explicit61.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/190666/5174119
c explicit77.c
// Build don't link:
template
struct S {};
template
struct S : public S, S {};
template
void f(S, S
www.eeworm.com/read/190666/5174122
c explicit15.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/190666/5174123
c explicit58.c
extern "C" void abort ();
template void f ();
template void g ()
{
abort ();
}
template void g ()
{
abort ();
}
template class C
{
public:
template
www.eeworm.com/read/190666/5174125
c explicit26.c
// Build don't run:
// GROUPS passed templates
template
int foo(T t) { return 1; }
template
int foo(int i) { return 0; }
int main()
{
(int (*)(int)) &foo;
}
www.eeworm.com/read/190666/5174128
c explicit82.c
// Build don't link:
// Copyright (C) 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 7 Sep 2000
// Bug 508. We failed to set/clear lastiddecl appropria