代码搜索:overloading
找到约 1,176 项符合「overloading」的源代码
代码结果 1,176
www.eeworm.com/read/175226/9555267
cpp list1001.cpp
//Listing 10.1 Overloading class member functions
#include
// Rectangle class declaration
class Rectangle
{
public:
// constructors
Rectangle(int width, int heig
www.eeworm.com/read/199075/7890281
cpp overloadderive.cpp
//Listing 16.4 Overloading constructors in derived classes
#include
enum BREED { YORKIE, CAIRN, DANDIE, SHETLAND, DOBERMAN, LAB };
class Mammal
{
public:
// constructor
www.eeworm.com/read/243813/12915190
java testmethodoverloading.java
// TestMethodOverloading.java: Demonstrate method overloading
public class TestMethodOverloading
{
// Main method
public static void main(String[] args)
{
// Invoke the max method with
www.eeworm.com/read/312169/13616886
cpp overloadderive.cpp
//Listing 16.4 Overloading constructors in derived classes
#include
enum BREED { YORKIE, CAIRN, DANDIE, SHETLAND, DOBERMAN, LAB };
class Mammal
{
public:
// constructor
www.eeworm.com/read/253866/12181598
cpp list1012.cpp
// Listing 10.12 - Prefix and Postfix operator overloading
#include
using namespace std;
class Counter
{
public:
Counter();
~Counter(){}
int GetItsVal()const { r
www.eeworm.com/read/253866/12181600
cpp list1001.cpp
//Listing 10.1 Overloading class member functions
#include
// Rectangle class declaration
class Rectangle
{
public:
// constructors
Rectangle(int width, int heig
www.eeworm.com/read/220439/14800794
cpp friend_critter.cpp
//Friend Critter
//Demonstrates friend functions and operator overloading
#include
#include
using namespace std;
class Critter
{
//make following global functions
www.eeworm.com/read/240162/4582245
c overload2.c
// { dg-do run }
// GROUPS passed overloading
// Check that calls to the correct overloaded virtual
// functions are generated even where the type of the formal
// arguments for the overloadings are
www.eeworm.com/read/233448/4675061
c overload2.c
// { dg-do run }
// GROUPS passed overloading
// Check that calls to the correct overloaded virtual
// functions are generated even where the type of the formal
// arguments for the overloadings are
www.eeworm.com/read/229812/4742331
c grb63.c
// low priority (we should wait to see if the standard is clear about this)
// 'const' and 'volatile' are not significant in overloading at the
// first level
struct S {
int a;
operator i