adding the try/catch sur new (useless)

This commit is contained in:
Raphael 2025-03-28 16:19:14 +01:00
parent 4e72caefbe
commit b3611b2a2a
2 changed files with 25 additions and 9 deletions

View file

@ -6,13 +6,18 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/03/26 12:07:18 by rparodi #+# #+# */
/* Updated: 2025/03/26 12:44:36 by rparodi ### ########.fr */
/* Updated: 2025/03/28 16:11:50 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#pragma once
#include <iostream>
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <new>
#include <typeinfo>
class Base {
public: