@@ -56,20 +56,10 @@ struct PWMapDelegate {
5656 */
5757 PWMapDelegate (const MapAF &fact);
5858
59- // /**
60- // * @brief Constructs a pw with s as its domain, and the 1*x+0 as its law.
61- // */
62- // PWMapDelegate(const MapAF &fact, const Set &s);
63-
64- // /**
65- // * @brief Constructs a pw with an unique map m.
66- // */
67- // PWMapDelegate(const MapAF &fact, const Map &m);
68-
6959 /* *
7060 * @brief Auxiliary function for defining the copy constructor of PWMap.
7161 */
72- // virtual SetDelegPtr clone() const = 0;
62+ virtual PWMapDelegPtr clone () const = 0;
7363
7464 struct Iterator {
7565 public:
@@ -289,7 +279,7 @@ struct UnordPWMap : public PWMapDelegate {
289279 UnordPWMap (const MapAF &fact, const UnordMapCollection &pieces);
290280 UnordPWMap (const UnordPWMap &pw);
291281
292- // SetDelegPtr clone() const override;
282+ PWMapDelegPtr clone () const override ;
293283
294284 struct Iterator : public PWMapDelegate ::Iterator {
295285 member_class (UnordMapCollection::const_iterator, it);
@@ -368,8 +358,7 @@ struct PWMap {
368358
369359 public:
370360 PWMap (PWMapDelegPtr deleg);
371-
372- // SetDelegPtr clone() const;
361+ PWMap (const PWMap &other);
373362
374363 struct Iterator {
375364 private:
@@ -389,6 +378,7 @@ struct PWMap {
389378
390379 bool operator ==(const PWMap &other) const ;
391380 bool operator !=(const PWMap &other) const ;
381+ PWMap &operator =(const PWMap &other);
392382 PWMap &operator =(PWMap &&other);
393383 std::ostream &print (std::ostream &out) const ;
394384
0 commit comments