diff options
| author | Connor McDowell <[email protected]> | 2024-03-08 12:58:49 -0800 |
|---|---|---|
| committer | Connor McDowell <[email protected]> | 2024-03-08 12:58:49 -0800 |
| commit | 18b408df7017403aff427b62146cea6323dce3d3 (patch) | |
| tree | ebad0359d711dbd0e254c146b849a54f1c882182 /Project1/Contacts.h | |
| parent | refactored with strings instead of char arrays (diff) | |
| download | archived-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.h | 6 |
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); |