-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBase.hpp
More file actions
36 lines (31 loc) · 1.11 KB
/
Base.hpp
File metadata and controls
36 lines (31 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Base.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: zelhajou <zelhajou@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/01/01 18:36:18 by zelhajou #+# #+# */
/* Updated: 2025/01/01 18:36:22 by zelhajou ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef BASE_HPP
#define BASE_HPP
class Base
{
public:
virtual ~Base() {}
};
class A : public Base
{
};
class B : public Base
{
};
class C : public Base
{
};
Base *generate(void);
void identify(Base *p);
void identify(Base &p);
#endif