代码搜索:explicit
找到约 10,000 项符合「explicit」的源代码
代码结果 10,000
www.eeworm.com/read/240162/4581333
c explicit59.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/240162/4581339
c explicit24.c
// { dg-do assemble }
// GROUPS passed templates
template
int foo(T t);
int foo(int i) { return 0; } // { dg-error "" } missing template
www.eeworm.com/read/240162/4581349
c explicit13.c
// { dg-do link }
// { dg-options "-ansi -pedantic-errors -w" }
// GROUPS passed templates
template
struct S
{
template
void foo(T t);
template
void bar(T t)
www.eeworm.com/read/240162/4581351
c explicit75.c
// { dg-do assemble }
// Test for not complaining about mismatches during unification.
template void f();
template void f();
extern void g(double);
void h ()
{
www.eeworm.com/read/240162/4581359
c explicit57.c
// { dg-do run }
extern "C" void abort ();
int a = 0;
template void f ();
template void g ()
{
if (a)
abort ();
}
template void g ()
{
}
template clas
www.eeworm.com/read/240162/4581366
c explicit16.c
// { dg-do assemble }
// GROUPS passed templates
template
class Array;
template
class ArraySectionInfo {
public:
enum { rank = 0 };
};
template
class SliceInfo
www.eeworm.com/read/240162/4581375
c explicit20.c
// { dg-do assemble }
// GROUPS passed templates
template
T foo(T t);
template
int foo(char c); // { dg-error "" } does not match any template declaration
www.eeworm.com/read/240162/4581386
c explicit28.c
// { dg-do link }
// 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/240162/4581392
c explicit54.c
// { dg-do run }
extern "C" void abort ();
template inline int fact2 ();
template inline int fact ()
{
return a * fact2 ();
}
template inline int fact ()
{
return 1;
www.eeworm.com/read/240162/4581407
c explicit37.c
// { dg-do link }
// GROUPS passed templates
class ostream {};
template
class S;
template
void operator