aboutsummaryrefslogtreecommitdiff
path: root/Project1/Contacts.h
diff options
context:
space:
mode:
authorConnor McDowell <[email protected]>2024-03-08 12:58:49 -0800
committerConnor McDowell <[email protected]>2024-03-08 12:58:49 -0800
commit18b408df7017403aff427b62146cea6323dce3d3 (patch)
treeebad0359d711dbd0e254c146b849a54f1c882182 /Project1/Contacts.h
parentrefactored with strings instead of char arrays (diff)
downloadarchived-homework-7-connormcdowell275-18b408df7017403aff427b62146cea6323dce3d3.tar.xz
archived-homework-7-connormcdowell275-18b408df7017403aff427b62146cea6323dce3d3.zip
alrighty! it should be done! i think all 4 standard functions are there so its should have everything!
Diffstat (limited to 'Project1/Contacts.h')
-rw-r--r--Project1/Contacts.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Project1/Contacts.h b/Project1/Contacts.h
index 48a89c3..d488a43 100644
--- a/Project1/Contacts.h
+++ b/Project1/Contacts.h
@@ -9,13 +9,13 @@ using namespace std;
class contact
{
public:
+ // constructors and destructors.
contact() = default;
- /*contact(const contact& copy);
contact& operator=(const contact& rhs);
- contact(contact&& move);
- contact& operator=(contact&& rhs);*/
+ contact(contact&& move) noexcept;
+ contact& operator=(contact&& rhs) noexcept;
string Get_firstName();
void Set_firstName(string firstName);