代码搜索:explicit
找到约 10,000 项符合「explicit」的源代码
代码结果 10,000
www.eeworm.com/read/440906/1776083
c explicit39.c
template
void f(int i);
void g()
{
f(3); // ERROR - no matching function.
}
www.eeworm.com/read/440906/1776095
c explicit27.c
// Build don't run:
// GROUPS passed templates
template
void foo(T t);
template
void foo(int i) {}
int main()
{
(void (*)(int)) &foo;
}
www.eeworm.com/read/440906/1776098
c explicit40.c
extern "C" void abort();
template
void f(int j);
template
void f(int j);
template
void f(int j)
{
abort();
}
template
void f(int j)
{
}
www.eeworm.com/read/440906/1776104
c explicit64.c
extern "C" void abort ();
template void f ()
{
abort ();
}
template void f ()
{
}
template class C
{
friend void f ();
public:
void ff () { f ();
www.eeworm.com/read/440906/1776107
c explicit12.c
// Build don't run:
// Special g++ Options: -ansi -pedantic-errors -w
// GROUPS passed templates
template
struct S
{
template
void foo(T t);
};
template
template
void
www.eeworm.com/read/440906/1776114
c explicit41.c
template
void f(int i);
void g()
{
int i;
f(7); // ERROR - template argument 1 is invalid.
}
www.eeworm.com/read/440906/1776121
c explicit21.c
// Build don't link:
// GROUPS passed templates
template
T foo(T* t);
template
int foo(char c); // ERROR - does not match declaration.
template
int bar(); // ERROR - no t
www.eeworm.com/read/440906/1776135
c explicit3.c
// Build don't link:
// GROUPS passed templates
template
void foo(T t, U u) {}
void bar()
{
(void (*)(double, int)) &foo;
}
www.eeworm.com/read/440906/1776137
c explicit68.c
// Build don't link:
template
struct S
{
static void g();
};
template
void g();
template
void f()
{
const bool b = true;
g();
const bool b1 = (Length =
www.eeworm.com/read/440906/1776168
c explicit70.c
// Build don't link:
template
void f(T) {}
template
struct S {
static T t;
};
template
T S::t;
template void f(int);
template void f(int); // ERROR - duplicate e