https://github.com/root-project/root
- HEAD
- refs/heads/latest-stable
- refs/heads/master
- refs/heads/v5-34-00-patches
- refs/heads/v6-06-00-patches
- refs/heads/v6-08-00-patches
- refs/heads/v6-10-00-patches
- refs/heads/v6-12-00-patches
- refs/heads/v6-14-00-patches
- refs/heads/v6-16-00-patches
- refs/heads/v6-18-00-patches
- refs/heads/v6-20-00-patches
- refs/heads/v6-22-00-patches
- refs/heads/v6-24-00-patches
- refs/heads/v6-26-00-patches
- refs/heads/v6-28-00-patches
- refs/heads/v6-30-00-patches
- refs/heads/v6-32-00-patches
- refs/tags/v6-01-03-CMS
- refs/tags/v6-07-07-aliceml
- refs/tags/v6-12-05-art-rc1
- refs/tags/v6-22-00-rc1
- refs/tags/v6-33-01
- v6.30.06
- v6-32-04
- v6-32-02
- v6-32-00-rc1
- v6-32-00
- v6-31-01
- v6-30-08
- v6-30-04
- v6-30-03
- v6-30-02
- v6-30-01
- v6-30-00a
- v6-30-00-rc1
- v6-30-00
- v6-29-02
- v6-29-01
- v6-28-12
- v6-28-10
- v6-28-08
- v6-28-06
- v6-28-04
- v6-28-02
- v6-28-00-rc1
- v6-28-00
- v6-27-02
- v6-26-16
- v6-26-14
- v6-26-12
- v6-26-10
- v6-26-08
- v6-26-06
- v6-26-04
- v6-26-02
- v6-26-00
- v6-25-02
- v6-25-01
- v6-24-08
- v6-24-06
- v6-24-04
- v6-24-02
- v6-24-00-rc1
- v6-24-00
- v6-23-02
- v6-23-01-RF-binSampling
- v6-23-01
- v6-22-08
- v6-22-06
- v6-22-04
- v6-22-02
- v6-22-00
- v6-21-02
- v6-20-08
- v6-20-06
- v6-20-04
- v6-20-02
- v6-20-00-rc1
- v6-20-00
- v6-19-02
- v6-19-01
- v6-18-04
- v6-18-02
- v6-18-00-rc1
- v6-18-00
- v6-17-02
- v6-16-00-rc1
- v6-16-00
- v6-15-02
- v6-14-08
- v6-14-06
- v6-14-04
- v6-14-02
- v6-14-00-rc1
- v6-14-00
- v6-13-08
- v6-13-06
- v6-13-04
- v6-13-02
- v6-12-06
- v6-12-04
- v6-12-02
- v6-11-02
- v6-10-08
- v6-10-06
- v6-10-04
- v6-10-02
- v6-10-00
- v6-09-04
- v6-09-02
- v6-09-01
- v6-08-06
- v6-08-04
- v6-08-02
- v6-08-00-rc1
- v6-08-00
- v6-07-06
- v6-07-04
- v6-07-02
- v6-07-01-SMC
- v6-07-01-ROOTaaS-1
- v6-06-08
- v6-06-06
- v6-06-04
- v6-06-02
- v6-06-00-rc1
- v6-06-00
- v6-05-02
- v6-05-01
- v6-04-18
- v6-04-16
- v6-04-14
- v6-04-12
- v6-04-10
- v6-04-08
- v6-04-06
- v6-04-04
- v6-04-02
- v6-04-00-patches
- v6-04-00
- v6-03-04
- v6-03-02
- v6-03-01-GEANT
- v6-02-12
- v6-02-10
- v6-02-08
- v6-02-05
- v6-02-04
- v6-02-03
- v6-02-02
- v6-02-01
- v6-02-00-rc1
- v6-02-00-patches
- v6-02-00
- v6-00-02
- v6-00-01
- v6-00-00-patches
- v6-00-00
- v5-99-06
- v5-99-05-lhcb
- v5-99-05
- v5-99-04
- v5-99-03-02
- v5-99-03-01
- v5-99-03
- v5-99-02
- v5-34-38
- v5-34-36
- v5-34-34
- v5-34-32
- v5-34-30
- v5-34-28
- v5-34-26
- v5-34-25
- v5-34-24
- v5-34-23
- v5-34-22
- v5-34-21
- v5-34-20
- v5-34-19
- v5-34-18
- v5-34-17
- v5-34-16
- v5-34-15
- v5-34-14
- v5-34-13
- v5-34-12
- v5-34-11
- v5-34-10
- v5-34-09
- v5-34-08
- v5-34-07
- v5-34-06
- v5-34-05
- v5-34-04
- v5-34-03
- v5-34-02
- v5-34-01
- v5-34-00-rc1
- v5-34-00
- v5-33-02b
- v5-33-02a
- v5-33-02
- v5-32-04
- v5-32-03
- v5-32-02
- v5-32-01
- v5-32-00-rc2
- v5-32-00-rc1
- v5-32-00-patches
- v5-32-00
- v5-30-06
- v5-30-05
- v5-30-04
- v5-30-03
- v5-30-02
- v5-30-01
- v5-30-00-rc2
- v5-30-00-rc1
- v5-30-00-patches
- v5-30-00
- v5-29-02
- v5-28-00h
- v5-28-00g
- v5-28-00f
- v5-28-00e
- v5-28-00d
- v5-28-00c
- v5-28-00b
- v5-28-00a
- v5-28-00-patches
- v5-28-00
- v5-27-06d
- v5-27-06c
- v5-27-06b
- v5-27-06a
- v5-27-06-patches
- v5-27-06
- v5-27-04
- v5-27-02
- v5-26-00g
- v5-26-00f
- v5-26-00e
- v5-26-00d
- v5-26-00c
- v5-26-00b
- v5-26-00a
- v5-26-00-patches
- v5-26-00
- v5-25-04
- v5-25-02
- v5-25-01-alice
- v5-24-00b-caf
- v5-24-00b
- v5-24-00a
- v5-24-00-patches
- v5-24-00
- v5-23-04
- v5-23-02
- v5-22-00j
- v5-22-00i
- v5-22-00h
- v5-22-00g
- v5-22-00f
- v5-22-00e
- v5-22-00d
- v5-22-00c
- v5-22-00b
- v5-22-00a
- v5-22-00-patches
- v5-22-00
- v5-21-06
- v5-21-04
- v5-21-02
- v5-21-01-alice
- v5-20-00-patches
- v5-20-00
- v5-19-04
- v5-19-02a
- v5-19-02
- v5-18-00f
- v5-18-00e
- v5-18-00d
- v5-18-00c
- v5-18-00b
- v5-18-00a
- v5-18-00-patches
- v5-18-00
- v5-17-08
- v5-17-06
- v5-17-04
- v5-17-03a
- v5-17-02
- v5-16-25
- v5-16-24
- v5-16-23
- v5-16-22
- v5-16-21
- v5-16-20
- v5-16-19
- v5-16-18
- v5-16-17
- v5-16-16
- v5-16-15
- v5-16-14
- v5-16-00
- v5-15-08-caf
- v5-15-08
- v5-15-06
- v5-15-04
- v5-15-02
- v5-14-00i
- v5-14-00h
- v5-14-00g
- v5-14-00f
- v5-14-00e
- v5-14-00d
- v5-14-00c
- v5-14-00b
- v5-14-00a
- v5-14-00-patches
- v5-14-00
- v5-13-06
- v5-13-04e
- v5-13-04d
- v5-13-04c
- v5-13-04b
- v5-13-04a
- v5-13-04-patches
- v5-13-04
- v5-13-02
- v5-12-00h
- v5-12-00g
- v5-12-00f
- v5-12-00e
- v5-12-00d
- v5-12-00c
- v5-12-00b
- v5-12-00a
- v5-12-00-patches
- v5-12-00
- v5-11-06a
- v5-11-06
- v5-11-04
- v5-11-02
- v5-11-01-alice
- v5-10-00f
- v5-10-00e
- v5-10-00d
- v5-10-00c
- v5-10-00b
- v5-10-00a
- v5-10-00-patches
- v5-10-00
- v5-09-01-alien
- v5-08-00b
- v5-08-00a
- v5-08-00-patches
- v5-08-00
- v5-06-00
- v5-05-01-alien
- v5-04-00
- v5-03-01-alien
- v5-02-00
- v4-04-02g
- v4-04-02f
- v4-04-02e
- v4-04-02d
- v4-04-02c
- v4-04-02b
- v4-04-02a
- v4-04-02-patches
- v4-04-02
- v4-03-04a
- v4-03-04-patches
- v4-03-04
- v4-03-02
- v4-02-00
- v4-01-04a
- v4-01-04
- v4-01-02
- v4-00-08f
- v4-00-08e
- v4-00-08d
- v4-00-08c
- v4-00-08b
- v4-00-08a
- v4-00-08-patches
- v4-00-08
- v4-00-06a
- v4-00-06
- v4-00-04
- v4-00-03
- v4-00-02
- v4-00-01
- v3-10-03
- v3-10-02
- v3-10-01a
- v3-10-01
- v3-05-07a
- v3-05-07
- v3-05-06
- v3-05-05
- v3-05-04
- v3-05-03
- v3-05-02
- v3-05-01
- v3-05-00
- v3-04-02
- v3-04-01
- v3-03-09b
- v3-03-09a
- v3-03-09
- v3-03-08
- v3-03-07
- v3-03-06
- v3-03-05
- v3-03-04
- v3-03-03
- v3-03-02
- v3-03-01
- v3-02-07
- v3-02-06
- v3-02-05
- v3-02-04
- v3-02-03
- v3-02-02
- v3-02-01
- v3-02-00
- v3-01-06
- v3-01-05
- v3-01-03
- v3-01-02
- v3-01-01
- v3-00-06
- v3-00-05
- v3-00-04
- v3-00-02
- v3-00-01
- v2-26-final
- v2-26-01
- v2-26-00
- v2-25-final
- v2-25-03
- v2-25-02
- v2-25-01
- v2-25-00
- v2-24-05
Raw File
Take a new snapshot of a software origin
If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.
Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.![swh spinner](/static/img/swh-spinner.gif)
Processing "take a new snapshot" request ...
Permalinks
To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.
Tip revision: dc23f9fcef6b528a41995f8ce10463d5330581e6 authored by Fons Rademakers on 27 October 2012, 21:18:24 UTC
tag patch release v5-34-03.
tag patch release v5-34-03.
Tip revision: dc23f9f
inherit2.cxx
/* -*- C++ -*- */
/*************************************************************************
* Copyright(c) 1995~2005 Masaharu Goto (root-cint@cern.ch)
*
* For the licensing terms see the file COPYING
*
************************************************************************/
//
// class inheritance test 2
//
// same member function name
// inheritance from header information and later bind the body
//
#ifdef __hpux
#include <iostream.h>
#else
#include <iostream>
using namespace std;
#endif
class A {
protected:
int a1;
public:
A(int i);
int A1(void);
void disp(void) { cout << "a1=" << a1 << "\n"; }
};
class B : public A {
int b1;
public:
int B1(void);
B(int i);
void disp(void) { cout <<"a1="<<a1<<" b1="<<b1<<"\n"; }
};
A::A(int i)
{
a1=i;
}
int A::A1(void)
{
return(a1);
}
B::B(int i)
: A(i+1)
{
b1=i;
}
int B::B1(void)
{
return(b1);
}
int main()
{
A Aobj=A(15);
B Bobj=B(3);
Aobj.disp();
Bobj.disp();
return 0;
}