代码搜索:overloading
找到约 1,176 项符合「overloading」的源代码
代码结果 1,176
www.eeworm.com/read/207217/15279379
cpp main.cpp
// Exercise 14.4 Overloading the comparison operators in the MyString class.
// Four more prototypes are added to the MyString class declaration
// declaring the comparison operator functions.
#i
www.eeworm.com/read/470720/1447017
c overload7.c
// GROUPS passed overloading
extern "C" int printf (const char *, ...);
struct NoName {
int first;
int second;
};
class Casted {
public:
NoName x;
doubl
www.eeworm.com/read/470693/1458963
c overload7.c
// GROUPS passed overloading
extern "C" int printf (const char *, ...);
struct NoName {
int first;
int second;
};
class Casted {
public:
NoName x;
doubl
www.eeworm.com/read/240162/4582366
c null1.c
// { dg-do run }
// Test for overloading with g++ NULL.
void f (int *) { }
void f (char, char);
int main ()
{
f (__null);
}
www.eeworm.com/read/240162/4583241
c overload5.c
// { dg-do assemble }
// Testcase for simple overloading resolution.
int foo (); // { dg-error "" }
void foo (); // { dg-error "" } disallowed overload
www.eeworm.com/read/233448/4675182
c null1.c
// { dg-do run }
// Test for overloading with g++ NULL.
void f (int *) { }
void f (char, char);
int main ()
{
f (__null);
}
www.eeworm.com/read/233448/4676060
c overload5.c
// { dg-do assemble }
// Testcase for simple overloading resolution.
int foo (); // { dg-error "" }
void foo (); // { dg-error "" } disallowed overload
www.eeworm.com/read/229812/4737821
cpp tq10.cpp
#include "dump.h"
// complains about mpb
// ``pointers to class members reference different object types''
// pointer to member function initialization/assignment is not overloading
// for overloa
www.eeworm.com/read/229812/4742327
c grb45.c
// operator overloading problem
struct S {
operator unsigned int();
};
int foo( S &x )
{
return x == 0; // ambiguous: overloader can't choose between
www.eeworm.com/read/190666/5174808
c overload7.c
// GROUPS passed overloading
extern "C" int printf (const char *, ...);
struct NoName {
int first;
int second;
};
class Casted {
public:
NoName x;
doubl