Commit Graph
153 Commits
Author SHA1 Message Date
christoph 8571e502e6 fix + and - bugs in iterator 2022-07-22 02:34:26 +02:00
christoph 4bd216b594 update demos 2022-07-22 02:34:15 +02:00
christoph 017f7de650 adapt to scheduler rework 2022-07-21 20:36:12 +02:00
christoph 02c75e483d implement slightly changed erase_if 2022-07-21 20:35:32 +02:00
christoph ee0295ce21 add implicit upcasting to unique_ptr 2022-07-21 20:35:21 +02:00
christoph 5164908b52 only implement one iterator class, no inheritance 2022-07-21 20:34:59 +02:00
christoph 566451ef97 switch array namespace in demo 2022-07-21 14:12:58 +02:00
christoph 40a19d32f3 change iterator friends to members 2022-07-21 02:49:05 +02:00
christoph b198e623e4 fix demo 2022-07-21 02:48:57 +02:00
christoph 498990559c add vector demo 2022-07-21 02:44:06 +02:00
christoph ae7294601d adapt to vector 2022-07-21 02:44:01 +02:00
christoph fa7d9d4d19 implement vector 2022-07-21 02:43:41 +02:00
christoph 53cea941f1 delete lists 2022-07-21 02:43:24 +02:00
christoph 48ef1948e4 comment 2022-07-21 02:43:02 +02:00
christoph 3ca01e2006 comment 2022-07-20 23:39:41 +02:00
christoph 137d433ec0 lists return 0 instead of -1 when insertion fails 2022-07-20 23:38:54 +02:00
christoph f420d5f677 clean moved objects, destructor 2022-07-20 22:03:39 +02:00
christoph b2dfa72f3b switch to raw ptr, clean moved objects, destructor 2022-07-20 22:03:05 +02:00
christoph 7a3704072b comments 2022-07-20 22:02:36 +02:00
christoph b9be775518 remove template specializations from unique_ptr 2022-07-20 22:02:11 +02:00
christoph 18c659c4cc implement new list interface (optional) 2022-07-19 23:36:57 +02:00
christoph 241699a9bf switch list to optional return 2022-07-19 23:09:55 +02:00
christoph 78f38f46ef add const reference operators to unique_ptr 2022-07-19 21:59:12 +02:00
christoph fea927380e switch arraylist to unique_ptr 2022-07-19 21:59:00 +02:00
christoph a827e1d809 smartpointer demo 2022-07-19 21:43:10 +02:00
christoph 1519e08072 implement unique_ptr 2022-07-19 21:43:04 +02:00
christoph a9c7b5161d switch mylib to bse namespace 2022-07-19 21:42:46 +02:00
christoph 11cd85ca18 removed old obsolete code 2022-07-19 15:01:52 +02:00
christoph 2f47dc8f94 fix list destructors 2022-07-19 14:56:59 +02:00
christoph c319c0b604 remove smarptrdemo impl until i have my own one 2022-07-19 14:51:55 +02:00
christoph 16acf1f21e smartpointer demo for debug 2022-07-19 14:48:07 +02:00
christoph f3e8466456 switch arraylist back to raw pointer 2022-07-19 14:47:59 +02:00
christoph 18c43ae37d implement list destructor 2022-07-19 14:47:49 +02:00
christoph e6194247cb comments 2022-07-19 14:47:33 +02:00
christoph 885eecf468 add smartpointer demo for debug 2022-07-19 11:25:56 +02:00
christoph f040aa562b update list demos 2022-07-19 00:19:08 +02:00
christoph 99f60383ee comments 2022-07-19 00:15:02 +02:00
christoph d2401820c7 switch demo 2022-07-19 00:02:55 +02:00
christoph b9f633ebb9 update arraylist to smartpointer 2022-07-19 00:02:25 +02:00
christoph d7fcd61c11 update iterator for new list interface 2022-07-19 00:02:02 +02:00
christoph 0451af3d9c change iterator in list interface 2022-07-19 00:01:54 +02:00
christoph 348611df26 add swap_n to array 2022-07-19 00:01:40 +02:00
christoph e9b24d06be add lock to keyboard demo 2022-07-19 00:01:24 +02:00
christoph 3d76162d8a array demo 2022-07-18 21:55:36 +02:00
christoph f5a4a66207 implement simple array wrapper 2022-07-18 21:55:24 +02:00
christoph 2e4c0339a3 const iterator + separate iterator from list.h 2022-07-18 21:55:06 +02:00
christoph 0a7032c992 fix linkedlistiterator 2022-07-17 21:41:23 +02:00
christoph 60b02a078b test ranged based loops in demos 2022-07-17 21:41:12 +02:00
christoph 132eb13431 update for new list interface 2022-07-17 21:02:33 +02:00
christoph d09b862dc3 implement linked list 2022-07-17 21:02:19 +02:00