fix combinaton
This commit is contained in:
@@ -33,12 +33,12 @@ class Tree
|
||||
public:
|
||||
Tree() = default;
|
||||
template <class Str>
|
||||
Tree(Str&& Name) : treeName(std::forward<Str>(Name)) {}
|
||||
/*Tree(const Tree&);
|
||||
Tree& operator= (const Tree& other);*/
|
||||
explicit Tree(Str&& Name) : treeName(std::forward<Str>(Name)) {}
|
||||
/* Tree(const Tree&) = default; */
|
||||
/* Tree& operator= (const Tree& other); */
|
||||
|
||||
Tree operator+ (const Tree& other);//doesnt work
|
||||
Tree operator- (const Tree& other);
|
||||
Tree operator+ (const Tree& other) const;
|
||||
Tree operator- (const Tree& other) const; /* todo */
|
||||
Tree& operator+= (const Tree& other);
|
||||
Tree& operator-= (const Tree& other);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user