CPP06
1.0
読み取り中…
検索中…
一致する文字列を見つけられません
Base.hpp
[詳解]
1
/* ************************************************************************** */
2
/* */
3
/* ::: :::::::: */
4
/* Base.hpp :+: :+: :+: */
5
/* +:+ +:+ +:+ */
6
/* By: kamitsui <kamitsui@student.42tokyo.jp> +#+ +:+ +#+ */
7
/* +#+#+#+#+#+ +#+ */
8
/* Created: 2025/07/22 14:49:22 by kamitsui #+# #+# */
9
/* Updated: 2025/07/22 14:49:24 by kamitsui ### ########.fr */
10
/* */
11
/* ************************************************************************** */
12
18
#ifndef BASE_HPP
19
#define BASE_HPP
20
26
class
Base
{
27
public
:
33
virtual
~Base
();
34
};
35
40
class
A
:
public
Base
{};
41
46
class
B
:
public
Base
{};
47
52
class
C
:
public
Base
{};
53
54
#endif
A
An empty class that inherits from Base.
Definition
Base.hpp:40
B
An empty class that inherits from Base.
Definition
Base.hpp:46
Base
A base class with a virtual destructor.
Definition
Base.hpp:26
Base::~Base
virtual ~Base()
Virtual destructor.
Definition
Base.cpp:24
C
An empty class that inherits from Base.
Definition
Base.hpp:52
ex02
Base.hpp
構築:
1.9.8