代码搜索:Inheritance
找到约 1,689 项符合「Inheritance」的源代码
代码结果 1,689
www.eeworm.com/read/337096/12391762
h studenti.h
// studenti.h -- defining a Student class using private inheritance
#ifndef STUDENTC_H_
#define STUDENTC_H_
#include
#include
#include
class Student : private
www.eeworm.com/read/119273/14834949
cpp mcircle.cpp
// Borland C++ - (C) Copyright 1991 by Borland International
/* MCIRCLE.CPP--Example from Getting Started */
// MCIRCLE.CPP Illustrates multiple inheritance
#include // Gr
www.eeworm.com/read/214672/15092389
h inheritstack.h
// inheritstack.h
// Data structures for a "stack" -- a Last-In-First-Out list of integers.
//
// We define two separate implementations of stacks, to
// illustrate C++ inheritance.
//
// Copyright (c
www.eeworm.com/read/470720/1445460
c dyncast3.c
// Author: Alfred Miniarik
// test of dynamic_cast
// runtime detecting of nonpublic
// inheritance within a cast
// and therefor failing with result 0.
extern "C" void a
www.eeworm.com/read/470720/1445617
c dyncast1.c
// Author: Alfred Miniarik
// test of dynamic_cast
// runtime detecting of nonpublic
// inheritance within a cast
// and therefor failing with result 0.
extern "C" void a
www.eeworm.com/read/470720/1446557
c template2.c
//Build don't link:
//Inheritance from templates which are namespace members
namespace foo {
template
struct x {
x(){}
};
}
class y : public foo::x {};
y r;
www.eeworm.com/read/470720/1447013
c visibility8.c
// Build don't link:
// GROUPS passed visibility
// Make sure private inheritance affects the visibility of
// static members used in an inherited context.
class foo
{
public:
static int y; // ERRO
www.eeworm.com/read/470720/1447882
c opeq5.c
// Testcase for tricky synthesized op= in complex inheritance situation.
// This used to test whether the virtual base was copy-assigned only once.
// That feature is not required by ISO C++, so the t
www.eeworm.com/read/470693/1457406
c dyncast3.c
// Author: Alfred Miniarik
// test of dynamic_cast
// runtime detecting of nonpublic
// inheritance within a cast
// and therefor failing with result 0.
extern "C" void a
www.eeworm.com/read/470693/1457563
c dyncast1.c
// Author: Alfred Miniarik
// test of dynamic_cast
// runtime detecting of nonpublic
// inheritance within a cast
// and therefor failing with result 0.
extern "C" void a