代码搜索:overloading
找到约 1,176 项符合「overloading」的源代码
代码结果 1,176
www.eeworm.com/read/128681/14282217
inc psicompilerdefines.inc
// Delphi 4
{$IFDEF VER120}
{$DEFINE VCL4ORABOVE}
{$DEFINE DELPHI}
{$DEFINE DELPHI4}
{$DEFINE OVERLOADING}
{$DEFINE OPTIONALPARAMS}
{$ENDIF}
// C++ Builder 4
{$IFDEF VER125}
{$
www.eeworm.com/read/202486/15381922
cpp ex1108.cpp
// Programming with C++, Second Edition, by John R. Hubbard
// Copyright McGraw-Hill, 2000
// Example 11.8 on page 260
// Overloading the
www.eeworm.com/read/403922/11500118
html book.overload.html
Object property and method call overloading
www.eeworm.com/read/162614/5518708
c using1.c
// Test that overloading on 'this' quals works with class using-declarations.
// { dg-do link }
struct A {
void f() const;
void f() {}
void g() const {}
void g();
void h() const;
void h(
www.eeworm.com/read/162614/5519043
c non-dependent10.c
// { dg-do compile }
// Origin: Giovanni Bajo
// Two-phase name lookup for address of member:
// Detecting overloading function error during parsing
struct S
{
int f(char
www.eeworm.com/read/162614/5521454
c overload1.c
// { dg-do assemble }
// GROUPS passed overloading
class Foo
{
public:
int f (void);
};
class Bar : public Foo
{
public:
int f (int); // { dg-error "" } candidates are
};
int main ()
{
Ba
www.eeworm.com/read/162614/5521517
c overload4.c
// { dg-do assemble }
// GROUPS passed overloading
typedef void * (*NewObject) (void);
class B
{
public:
static void WantsNew (NewObject creator); // { dg-error "" } candidates are
};
www.eeworm.com/read/162614/5521519
c overload11.c
// { dg-do assemble }
// GROUPS passed overloading
class foo_int
{
public:
int & i;
foo_int (int &j) : i(j) {};
void inc () { i++; }
};
www.eeworm.com/read/162614/5522065
c 900404_03.c
// { dg-do assemble }
// g++ 1.37.1 bug 900404_03
// g++ fails to be able to properly flag errors for even simple cases of
// ambiguous overload resolution (such as the one shown below).
// Cfront
www.eeworm.com/read/162614/5522149
c warning4.c
// { dg-do assemble }
// { dg-options "-Woverloaded-virtual" }
// Bug: a virtual function with the same name in an unrelated class will
// cause a bogus overloading warning.
struct A {
virtual voi