代码搜索:overloading
找到约 1,176 项符合「overloading」的源代码
代码结果 1,176
www.eeworm.com/read/127960/14324983
cpp string.cpp
//这个程序在本书所带软盘中,文件名为STRING.CPP
//这个程序演示相加运算符重载、逻辑运算符重载以及输出重载在程序中的应用。
#include
#include
enum boolean {false, true};
class String {
friend ostream& operator
www.eeworm.com/read/162614/5521203
c arg2.c
// { dg-do assemble }
// GROUPS passed arg-matching
// arg-matching file
// Message-Id:
// From: Warner Losh
// Subject
www.eeworm.com/read/162614/5522202
c rfg5.c
// { dg-do assemble }
// { dg-options "-ansi -pedantic-errors -w" }
// Bug: func is treated as an overloaded function when it isn't.
int *func () { return 0; }
void
test ()
{
*func; // { dg-bog
www.eeworm.com/read/162614/5522265
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/162614/5522412
c overload2.c
// { dg-do assemble }
// Bug: foo and bar are considered to be overloaded (i.e. their
// IDENTIFIER_GLOBAL_VALUES are TREE_LISTs) even though they aren't,
// so ?: thinks it can't resolve the nam
www.eeworm.com/read/103443/15732126
cpp string.cpp
//这个程序在本书所带软盘中,文件名为STRING.CPP
//这个程序演示相加运算符重载、逻辑运算符重载以及输出重载在程序中的应用。
#include
#include
enum boolean {false, true};
class String {
friend ostream& operator
www.eeworm.com/read/102004/15795131
inc idcompilerdefines.inc
{$DEFINE Indy90}
// Delphi 4
{$IFDEF VER120}
{$DEFINE VCL4ORABOVE}
{$DEFINE VCL4O}
{$DEFINE DELPHI}
{$DEFINE DELPHI4}
{$DEFINE OVERLOADING}
{$DEFINE OPTIONALPARAMS}
{$DEFINE MSW
www.eeworm.com/read/162614/5522352
c rfg4.c
// { dg-do assemble }
// { dg-options "-ansi -pedantic-errors -w" }
// Bug: f1 and f2 are treated as overloaded when they aren't.
int i;
void f1(double) { }
void f2(double) { }
void
test ()
{
i ?
www.eeworm.com/read/197407/7997826
h lwgraph2.h
// linked adjacency list representation of weighted graphs
// initial version
// extended to include input function and
// overloading of > done in lbase2.h
#ifndef Link
www.eeworm.com/read/197407/7998142
h lwdgph2.h
// linked adjacency list representation of a weighted directed graph
// initial version
// overloading of > done in lbase2.h
#ifndef LinkedWDigraph_
#define LinkedWDigra