Commit Graph

34 Commits

Author SHA1 Message Date
50b2105df5 build: clang-tidy fixes 2021-04-19 14:52:22 +10:00
0977fb89b3 debug/assert: don't use iostream 2021-04-12 16:56:06 +10:00
fdaa5e1392 assert: split CHECK_LIMIT into INCLUSIVE and INDEX
LIMIT hid an off-by-one bug when tests used end iterators. We rename the
assertion to uncover all uses of the flawed implementation, and split it
into an identical assertion, and one intended to protect against
iterator ends.
2020-09-24 08:03:41 +10:00
81a7b83dfe array/darray: add resize calls 2020-08-13 13:33:20 +10:00
cf141e45d2 sarray: add an empty query 2020-07-22 13:27:32 +10:00
2aafaeb119 array: add md stubs 2020-03-16 14:14:16 +11:00
d0d55d8bc9 array/darray: style 2019-08-28 17:31:38 +10:00
ddbdfacae7 array/darray: remove unnecessary explicit storage destructor 2019-08-28 13:41:51 +10:00
5286e4e851 array/darray: bypass complex constructor errors in union 2019-08-28 13:27:17 +10:00
9d123e003e build: add some forgotten, required, headers 2019-08-28 12:55:15 +10:00
07840dbc54 array/parray: add erase function 2019-06-02 11:10:31 +10:00
bca58bf352 array/parray: add empty query 2019-06-02 11:10:23 +10:00
04fd13fe42 array/parray: add resize function 2019-06-02 11:09:58 +10:00
3e08d64927 array/parray: add default move operators 2019-06-02 11:09:44 +10:00
8beada1646 debug: split debug headers into components 2019-05-17 12:26:08 +10:00
a69ec062f1 array/sarray: add move assignment operator 2019-03-27 15:51:57 +11:00
340d873d3a iterator: move each iterator to their own unit 2019-03-18 16:18:27 +11:00
7746463c5a array/varray: allow construction from containers 2019-02-21 17:40:38 +11:00
040db9118c array/sarray: add move constructor 2019-02-06 17:03:52 +11:00
7511580de7 array: add varray wrapper 2019-01-31 13:45:40 +11:00
82b0bb2245 array/parray: use size/data constructor ordering
This corresponds with the typical ordering in the STL.
2019-01-02 13:45:47 +11:00
8f2d036123 sarray: allow copy construction 2018-12-19 17:15:24 +11:00
f3886d6089 array: don't use const size member
const members tend to prohibit copy construction
2018-12-19 17:15:24 +11:00
5144dd137a array/parray: Add missing Container typedefs 2018-12-17 12:50:05 +11:00
a7786f04b9 array: move sarray and parray into array directory 2018-12-17 12:50:05 +11:00
8c0c374a53 darray: correct the empty condition 2018-11-09 15:01:35 +11:00
26edf25b82 darray: add insert_n overload 2018-11-08 14:11:14 +11:00
f44c7d5b46 darray: add equality operators 2018-11-08 14:10:50 +11:00
7e8f2df869 darray: add 'remain' query 2018-11-08 14:10:29 +11:00
85a736b9f4 darray: don't zip over unequal ranges 2018-11-08 14:10:15 +11:00
4489fff11c darray: add size_type definition 2018-11-08 14:10:04 +11:00
1ccabff51c darray: add 'full' query 2018-11-08 12:55:37 +11:00
d73c33c4bd darray: add defaulted copy constructors and assignment operators 2018-11-07 16:04:03 +11:00
79edea8f2d darray: add a static capacity, dynamic sized array 2018-11-05 21:31:30 +11:00