feat: adding overload on the "=" operator

This commit is contained in:
Raphael 2025-02-10 10:04:12 +01:00
parent c2c4dccf95
commit 442468e3cf
4 changed files with 14 additions and 4 deletions

View file

@ -6,7 +6,7 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/06 15:17:49 by rparodi #+# #+# */
/* Updated: 2025/02/06 17:35:51 by rparodi ### ########.fr */
/* Updated: 2025/02/07 17:51:43 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
@ -14,11 +14,13 @@
#define BRAIN_HPP
#include <string>
class Brain {
public:
Brain();
~Brain();
std::string idea[100];
Brain& operator=(Brain &value);
protected: