代码搜索:overloading
找到约 1,176 项符合「overloading」的源代码
代码结果 1,176
www.eeworm.com/read/490333/1200532
cs invalidmethodoverload.cs
// Fig. 6.19: InvalidMethodOverload.cs
// Demonstrating incorrect method overloading.
public class InvalidMethodOverload
{
public int Square( double x )
{
return x * x;
}
www.eeworm.com/read/470720/1447068
c overload4.c
// Build don't link:
// GROUPS passed overloading
typedef void * (*NewObject) (void);
class B
{
public:
static void WantsNew (NewObject creator); // ERROR - candidates are
};
clas
www.eeworm.com/read/470693/1459014
c overload4.c
// Build don't link:
// GROUPS passed overloading
typedef void * (*NewObject) (void);
class B
{
public:
static void WantsNew (NewObject creator); // ERROR - candidates are
};
clas
www.eeworm.com/read/228954/4760974
cs invalidmethodoverload.cs
// Fig. 4.9: InvalidMethodOverload.cs
// Demonstrating incorrect method overloading.
public class InvalidMethodOverload
{
public int Square( double x )
{
return x * x;
}
www.eeworm.com/read/191729/5163193
java collectionclassifier.java
// Broken - incorrect use of overloading! - Page 128
import java.util.*;
public class CollectionClassifier {
public static String classify(Set s) {
return "Set";
}
publ
www.eeworm.com/read/191729/5163262
java collectionclassifier.java
// Broken - incorrect use of overloading! - Page 128
import java.util.*;
public class CollectionClassifier {
public static String classify(Set s) {
return "Set";
}
publ
www.eeworm.com/read/190666/5174859
c overload4.c
// Build don't link:
// GROUPS passed overloading
typedef void * (*NewObject) (void);
class B
{
public:
static void WantsNew (NewObject creator); // ERROR - candidates are
};
clas
www.eeworm.com/read/179693/5302457
java collectionclassifier.java
// Broken - incorrect use of overloading! - Page 128
import java.util.*;
public class CollectionClassifier {
public static String classify(Set s) {
return "Set";
}
publ
www.eeworm.com/read/340665/3275515
c overload4.c
// Build don't link:
// GROUPS passed overloading
typedef void * (*NewObject) (void);
class B
{
public:
static void WantsNew (NewObject creator); // ERROR - candidates are
};
clas
www.eeworm.com/read/440906/1777147
c overload4.c
// Build don't link:
// GROUPS passed overloading
typedef void * (*NewObject) (void);
class B
{
public:
static void WantsNew (NewObject creator); // ERROR - candidates are
};
clas