代码搜索:explicit
找到约 10,000 项符合「explicit」的源代码
代码结果 10,000
www.eeworm.com/read/162614/5520778
c explicit34.c
// { dg-do assemble }
// GROUPS passed templates
template
void foo(T t);
template
void foo(int) {}; // { dg-error "" } previously defined here.
template
void foo(int) {} // { d
www.eeworm.com/read/162614/5520779
c explicit61.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/162614/5520782
c explicit77.c
// { dg-do assemble }
template
struct S {};
template
struct S : public S, S {};
template
void f(S, S
www.eeworm.com/read/162614/5520785
c explicit15.c
// { dg-do assemble }
// GROUPS passed templates
template
class Array;
template
class ArraySectionInfo {
public:
enum { rank = 0 };
};
template
class SliceInfo
www.eeworm.com/read/162614/5520786
c explicit58.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/162614/5520788
c explicit26.c
// { dg-do link }
// 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/162614/5520791
c explicit82.c
// { dg-do assemble }
// Copyright (C) 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 7 Sep 2000
// Bug 508. We failed to set/clear lastiddecl appropr
www.eeworm.com/read/162614/5520813
c explicit62.c
// { dg-do run }
extern "C" void abort ();
template void f ()
{
}
template class C
{
friend void f ();
public:
void ff () { f (); }
};
int main ()
{
C
www.eeworm.com/read/162614/5520838
c explicit29.c
// { dg-do link }
// GROUPS passed templates
template
int foo(T) { return 0; }
int foo(int);
int main()
{
return foo(3);
}
www.eeworm.com/read/162614/5520842
c explicit17.c
// { dg-do assemble }
// { dg-options "-ansi -pedantic-errors -w" }
// GROUPS passed templates
template
void foo(U u, T t);
template
void foo(T t);
template
s