代码搜索:overloading
找到约 1,176 项符合「overloading」的源代码
代码结果 1,176
www.eeworm.com/read/162614/5518964
c spec2.c
// { dg-do compile }
// Origin:
// Bug: Overloading of ordinary and template member function
// which enclosing class is specialized is not handled correctl
www.eeworm.com/read/162614/5519095
c non-dependent9.c
// { dg-do compile }
// Origin: Giovanni Bajo
// Two-phase name lookup for address of member:
// Overloading function
struct S
{
int f();
int f(int);
};
template
www.eeworm.com/read/162614/5520327
c ttp55.c
// { dg-do assemble }
// Testing overloading of function argument involving template template
// parameters
// Reported by Thomus Kunert
template
class H{};
www.eeworm.com/read/162614/5521260
c operators18.c
// { dg-do assemble }
// GROUPS passed operators
// opr-ampr file
// From: mecklen@oops.cs.utah.edu (Robert Mecklenburg)
// Date: Thu, 8 Oct 92 16:33:08 -0600
// Subject: Type conversion and ove
www.eeworm.com/read/162614/5521386
c overload6.c
// { dg-do assemble }
// GROUPS passed overloading
struct temp_string {
temp_string (const unsigned char);
};
class String {
public:
String& operator = (temp_string);
String& operator = (co
www.eeworm.com/read/162614/5521434
c overload8.c
// { dg-do assemble }
// GROUPS passed overloading
typedef struct{double re,im;} complex;
class Complex{public:double re,im;
inline void operator=(Complex&X){re=X.re; im=X.im;};};
void zxcvbnm(in
www.eeworm.com/read/162614/5522110
c 900220_02.c
// { dg-do run }
// g++ 1.36.1 bug 900220_02
// g++ treats plain `char' and `unsigned char' as different types, however
// it fails to treat `signed char' as being a different type from plain
// `ch
www.eeworm.com/read/162614/5522214
c warning3.c
// { dg-do assemble }
// { dg-options "-Wshadow" }
// Bug: overloading of 'A' for template causes bogus shadowing warnings.
template
class A
{
public:
virtual ~A() {}
};
template clas
www.eeworm.com/read/162614/5522435
c overload4.c
// { dg-do assemble }
// Testcase for simple overloading resolution.
void foo (int);
void foo (int, int);
void bar ()
{
foo (1);
foo (1, 2);
}
www.eeworm.com/read/162614/5522468
c overload23.c
// { dg-do assemble }
// From: panisset@cae.ca (Jean-Francois Panisset)
// Date: Mon, 6 Jun 94 13:39:25 EDT
// Subject: Problem with operator overloading
class ostream {
public:
ostream& operator