代码搜索:overloading
找到约 1,176 项符合「overloading」的源代码
代码结果 1,176
www.eeworm.com/read/229812/4742106
txt fnovtmpl.txt
Overloading in the presence of templates:
Question:
=========
Is this allowed:
template T foo( T, int );
template T foo( int, T );
which implies that:
int foo( in
www.eeworm.com/read/190666/5174864
c overload9.c
// Build don't link:
// GROUPS passed overloading
class CLogger
{
public:
void operator() (int,const char *) {}; // ERROR - candidates
void operator() (int,const char *, ...) {}; // ERROR
www.eeworm.com/read/190666/5175611
c rfg13.c
// Bug: g++ does overloading on a function-by-function basis.
void
f ()
{
void (*fp)(void);
{
extern void g ();
}
fp = g; /* ERROR - no 'g' in scope */
}
www.eeworm.com/read/190666/5175783
c overload4.c
// Testcase for simple overloading resolution.
// Build don't link:
void foo (int);
void foo (int, int);
void bar ()
{
foo (1);
foo (1, 2);
}
www.eeworm.com/read/162614/5521466
c overload7.c
// { dg-do run }
// GROUPS passed overloading
extern "C" int printf (const char *, ...);
struct NoName {
int first;
int second;
};
class Casted {
public:
NoName
www.eeworm.com/read/340665/3275520
c overload9.c
// Build don't link:
// GROUPS passed overloading
class CLogger
{
public:
void operator() (int,const char *) {}; // ERROR - candidates
void operator() (int,const char *, ...) {}; // ERROR
www.eeworm.com/read/340665/3276265
c rfg13.c
// Bug: g++ does overloading on a function-by-function basis.
void
f ()
{
void (*fp)(void);
{
extern void g ();
}
fp = g; /* ERROR - no 'g' in scope */
}
www.eeworm.com/read/340665/3276437
c overload4.c
// Testcase for simple overloading resolution.
// Build don't link:
void foo (int);
void foo (int, int);
void bar ()
{
foo (1);
foo (1, 2);
}
www.eeworm.com/read/273525/4205587
class influenced_yesno.class
// influenced_yesno.class
//
// A yesno that does not always know its own mind. Allows outside influence
// in making its decision. Useful when overloading a yes
www.eeworm.com/read/440906/1777152
c overload9.c
// Build don't link:
// GROUPS passed overloading
class CLogger
{
public:
void operator() (int,const char *) {}; // ERROR - candidates
void operator() (int,const char *, ...) {}; // ERROR