代码搜索:overloading
找到约 1,176 项符合「overloading」的源代码
代码结果 1,176
www.eeworm.com/read/366702/2871868
c rfg13.c
// { dg-do assemble }
// Bug: g++ does overloading on a function-by-function basis.
void
f ()
{
void (*fp)(void);
{
extern void g ();
}
fp = g; /* { dg-error "" } no 'g' in scope */
}
www.eeworm.com/read/366702/2871983
c operator.c
// { dg-do assemble }
// { dg-options "" }
// General test for operator overloading permissiveness.
typedef __SIZE_TYPE__ size_t;
struct A {
int operator?:(int a, int b); // { dg-warning "" }
www.eeworm.com/read/366702/2872089
c tempargs.c
// { dg-do assemble }
// GROUPS passed templates overloading
template class Vector { };
template struct Sort { static void sort (Vector &); };
template voi
www.eeworm.com/read/263232/4304972
cpp employ2.cpp
/*
Employ2.cpp -- Testing operator overloading.
*/
#include
#include
#include
class CEmployee
{
public:
CEmployee (int ID, char *First, char
www.eeworm.com/read/108874/15572947
htm ei26.htm
Effective C++, 2E | Item 26: Guard against potential ambiguity Back to Item 25: Avoid overloading on a pointer and a numerical type.
Continue to Item 27: Explicitly disallow use of implicitly generat
www.eeworm.com/read/101783/15817170
htm ei26.htm
Effective C++, 2E | Item 26: Guard against potential ambiguity Back to Item 25: Avoid overloading on a pointer and a numerical type.
Continue to Item 27: Explicitly disallow use of implicitly generat
www.eeworm.com/read/192096/8406860
htm ch13_15.htm
Recipe 13.14. Overloading Operators (Perl Cookbook)
www.eeworm.com/read/431559/8667508
java overloadingorder.java
//: c04:OverloadingOrder.java
// From 'Thinking in Java, 2nd ed.' by Bruce Eckel
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
// Overloading based on the order of
// the arguments
www.eeworm.com/read/187222/8840709
java hide.java
//: Hide.java
// Overloading a base-class method name
// in a derived class does not hide the
// base-class versions
class Homer {
char doh(char c) {
System.out.println("doh(char)");
ret
www.eeworm.com/read/377523/9272387
java overloadingorder.java
//: c04:OverloadingOrder.java
// From 'Thinking in Java, 2nd ed.' by Bruce Eckel
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
// Overloading based on the order of
// the arguments