transform d03 ex01 assignation function in case of two constructors, tests of assignation and copy operation not successful

This commit is contained in:
Hugo LAMY
2022-02-19 12:01:43 +01:00
parent 817fac957b
commit 7e65467a27
10 changed files with 104 additions and 23 deletions

22
d03/ex03/DiamondTrap.hpp Normal file
View File

@@ -0,0 +1,22 @@
#ifndef DIAMONDTRAP_HPP
# define DIAMONDTRAP_HPP
# include <iostream>
# include <string>
# include "ClapTrap.hpp"
class DiamondTrap : public FragTrap, public ScavTrap {
public:
DiamondTrap( std::string name );
~DiamondTrap( void );
void whoAmI();
private:
std::string _name;
};
#endif