1
Commit Graph

94 Commits

Author SHA1 Message Date
9ce177e13e add stringview.cc 2022-08-01 20:43:38 +02:00
a7e7e65468 implement operator* for string 2022-08-01 19:36:35 +02:00
3b3bf662ca remove mutable operators from stringview 2022-08-01 19:36:22 +02:00
7c419fd905 make stringview ptr const 2022-07-29 14:35:54 +02:00
c0dfd881e9 replace char*/string with stringview 2022-07-29 14:35:44 +02:00
e3808aafa7 constcast pointer in iterator 2022-07-29 14:35:12 +02:00
e7aee137f8 implement simple string_view 2022-07-29 14:19:47 +02:00
b70024a973 use std::size_t 2022-07-29 14:19:26 +02:00
3eb0e8e1fb add more span checks 2022-07-29 14:19:12 +02:00
fcab6677ac use std::size_t 2022-07-29 14:19:02 +02:00
ac2d46d314 remove semicolon 2022-07-27 23:43:21 +02:00
79ddabd23b static cast logger 2022-07-24 22:42:44 +02:00
5470992d31 fix span 2022-07-24 22:42:12 +02:00
5833c07ae2 move to initializer list 2022-07-24 22:41:49 +02:00
854752ec0d primitive span implementation 2022-07-24 21:49:38 +02:00
7164504904 add initializer list constructor for vector 2022-07-24 21:49:22 +02:00
0ced077122 move logger 2022-07-24 21:49:04 +02:00
40108cdacc add constexpr 2022-07-24 21:47:47 +02:00
6481bae5f6 merged cleanup 2022-07-24 21:12:31 +02:00
aaa762d70e initialize for index variable 2022-07-24 02:39:49 +02:00
b0b6ec13dc allow vector to be lazy init if alloc not avail 2022-07-24 02:22:43 +02:00
a0fd7ea1a4 add move/copy constructors/assignment operators 2022-07-24 01:57:41 +02:00
281228b6be fix string move constructor/assignment + additions 2022-07-24 01:35:21 +02:00
d9b86355c7 remove <cstddef> and NULLs (use nullptr) 2022-07-24 00:40:51 +02:00
e4469e51b2 cleanup 2022-07-24 00:33:14 +02:00
520445b66e add overloads for bse::string 2022-07-24 00:08:22 +02:00
4aa6d089ca allow to retrieve bse::array buffer address 2022-07-24 00:08:00 +02:00
afd5a9599d mark const stuff const 2022-07-24 00:07:45 +02:00
1c87110b70 implement basic dynamic string 2022-07-24 00:07:21 +02:00
65ae4e139b add min/max to Math.h 2022-07-24 00:07:10 +02:00
94cc244868 rename Iterator to iterator 2022-07-23 21:38:16 +02:00
c95361552a rename Vector to vector 2022-07-23 21:37:00 +02:00
c8db2c8878 rename Array to array 2022-07-23 21:32:51 +02:00
3f8ff439a0 Revert "add own bse::move"
This reverts commit 72b99990b6.
2022-07-23 14:32:07 +02:00
7f34f80a8c use bse::move 2022-07-23 13:37:41 +02:00
72b99990b6 add own bse::move 2022-07-23 13:37:35 +02:00
a56dbb316f rename lib 2022-07-23 13:37:28 +02:00
15ded9c02c remove cstddef 2022-07-23 13:19:35 +02:00
647021d434 remove cstddef 2022-07-23 13:18:08 +02:00
ec09b0e6d2 make logger static and add name wrapper 2022-07-22 23:32:36 +02:00
3c6f6dd009 add Vector::reserve function 2022-07-22 20:45:52 +02:00
e3dcadcc3c add debug get() to iterator 2022-07-22 18:12:28 +02:00
b3c6c354c6 remove logger from vector 2022-07-22 18:12:17 +02:00
2021788831 fix wrong size after insertion bug in vector 2022-07-22 02:34:56 +02:00
8571e502e6 fix + and - bugs in iterator 2022-07-22 02:34:26 +02:00
02c75e483d implement slightly changed erase_if 2022-07-21 20:35:32 +02:00
ee0295ce21 add implicit upcasting to unique_ptr 2022-07-21 20:35:21 +02:00
5164908b52 only implement one iterator class, no inheritance 2022-07-21 20:34:59 +02:00
40a19d32f3 change iterator friends to members 2022-07-21 02:49:05 +02:00
ae7294601d adapt to vector 2022-07-21 02:44:01 +02:00