Skip to content
Snippets Groups Projects
Commit 2f960bea authored by Jan Trávníček's avatar Jan Trávníček
Browse files

operator = and copy constructor for ranked_symbol

parent cb046e2a
No related branches found
No related tags found
1 merge request!85Merge jt
......@@ -35,6 +35,26 @@ public:
*/
explicit ranked_symbol ( SymbolType symbol, RankType rank );
 
/**
* Default copy constructor
*/
ranked_symbol ( const ranked_symbol & ) = default;
/**
* Default move constructor
*/
ranked_symbol ( ranked_symbol && ) = default;
/**
* Default copy operator of assignment
*/
ranked_symbol & operator = ( const ranked_symbol & ) = default;
/**
* Default move operator of assignment
*/
ranked_symbol & operator = ( ranked_symbol && ) = default;
/**
* @return name of the symbol
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment