+
+ if (mostrar_prios)
+ return;
+
+ std::cout << "Prioridades\n";
+ for (ih = hombres.begin();
+ ih != hombres.end(); ++ih) {
+ Persona& h = **ih;
+ std::cout << h << "\n";
+ for (personas_type::iterator im = h.prefs.begin();
+ im != h.prefs.end(); ++im) {
+ Persona &p = **im;
+ std::cout << "\t" << p << "\n";
+ }
+ }
+ std::cout << "\n";
+ for (ih = mujeres.begin();
+ ih != mujeres.end(); ++ih) {
+ Persona& h = **ih;
+ std::cout << h << "\n";
+ for (personas_type::iterator im = h.prefs.begin();
+ im != h.prefs.end(); ++im) {
+ Persona &p = **im;
+ std::cout << "\t" << p << "\n";
+ }
+ }