diff options
Diffstat (limited to 'Project1')
| -rw-r--r-- | Project1/main.cpp | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/Project1/main.cpp b/Project1/main.cpp index e588a9d..14f761b 100644 --- a/Project1/main.cpp +++ b/Project1/main.cpp @@ -13,8 +13,34 @@ using namespace myStructures; int main() { + contact<char> newContact; + contact<int> intContact; + return 0; +} - return 0; -}
\ No newline at end of file +// contact list class below, holding for later. + +//template <class CList> +//class ContactList +//{ +//public: +// ContactList() = default; +// ContactList(size_t size); //Creates contact list of this size +// ContactList(const CList* contacts, const size_t& length); //Makes a copy of another contact list +// ~ContactList(); +// +// ContactList(const ContactList& copy); //deep copy constructor +// ContactList& operator=(const ContactList& rhs); //deep copy assignment +// +// ContactList(ContactList&& move); //reference(move) constructor +// ContactList& operator=(ContactList&& rhs); //reference(move) assignment +// +//private: +// CList* contacts_{ nullptr }; +// size_t length_{ 0 }; +// size_t size_{ 0 }; +// +// CList* AllocateContactList(const size_t& size); +//};
\ No newline at end of file |