parent
7f0bccf5f2
commit
ab1f2bc561
@ -1,28 +0,0 @@
|
||||
#ifndef PERSONNE2_HPP
|
||||
#define PERSONNE2_HPP
|
||||
#include <list>
|
||||
#include <map>
|
||||
#include <set>
|
||||
|
||||
namespace reseau2 {
|
||||
class Personne {
|
||||
std::string prenom;
|
||||
std::list<Personne> allPerson;
|
||||
|
||||
// std::map<reseau2::Personne,std::list<reseau2::lesPersonnes>> map;
|
||||
public:
|
||||
static std::list<Personne> listePersonneAll;
|
||||
Personne(const std::string& prenom);
|
||||
bool ajoutListe(const Personne& unePersonne);
|
||||
void affichListe();
|
||||
const std::string& getPrenom() const;
|
||||
~Personne();
|
||||
|
||||
|
||||
|
||||
};
|
||||
std::ostream& operator<<(std::ostream& os, Personne p);
|
||||
bool operator==(Personne p1, Personne p2);
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Reference in new issue