Base.hpp
1 /* ************************************************************************** */ 2 /* */ 3 /* ::: :::::::: */ 4 /* Base.hpp :+: :+: :+: */ 5 /* +:+ +:+ +:+ */ 6 /* By: gychoi <gychoi@student.42seoul.kr> +#+ +:+ +#+ */ 7 /* +#+#+#+#+#+ +#+ */ 8 /* Created: 2023/12/18 02:53:26 by gychoi #+# #+# */ 9 /* Updated: 2023/12/20 23:19:33 by gychoi ### ########.fr */ 10 /* */ 11 /* ************************************************************************** */ 12 13 #pragma once 14 #ifndef __BASE_HPP__ 15 #define __BASE_HPP__ 16 17 #include <cstdlib> 18 #include <ctime> 19 #include <stdexcept> 20 #include <iostream> 21 22 class Base 23 { 24 public: 25 virtual ~Base(); 26 }; 27 28 Base* generate(void); 29 void identify(Base* p); 30 void identify(Base& p); 31 32 #endif /* __BASE_HPP__ */