Bananymous
|
cf63552b2a
|
BAN: Cleanup includes
|
2023-01-17 11:38:16 +02:00 |
Bananymous
|
5122d27f89
|
BAN: Add Front() and Back() to StringView
|
2023-01-16 18:56:51 +02:00 |
Bananymous
|
065e23d307
|
BAN: fix include
|
2023-01-13 15:04:06 +02:00 |
Bananymous
|
82a25f9035
|
BAN: implement placement new
|
2023-01-13 14:45:27 +02:00 |
Bananymous
|
53d1d12c12
|
BAN: String add operator=(StringView)
|
2023-01-13 00:57:47 +02:00 |
Bananymous
|
c33c6c5785
|
BAN: memcpy only if we already have a buffer
|
2023-01-13 00:17:19 +02:00 |
Bananymous
|
61bd9da8e0
|
BAN: Add [[nodiscard]] to BAN functions returning ErrorOr
|
2023-01-12 23:57:07 +02:00 |
Bananymous
|
78da037dda
|
BAN: String, Queue and Vector dont use floating point arithmetic
|
2023-01-12 17:00:29 +02:00 |
Bananymous
|
d02e3b19c7
|
BAN: Move operator new/delete to BAN/Memory.cpp
We also now implement alignment new
|
2023-01-10 21:59:40 +02:00 |
Bananymous
|
6f9552d673
|
BAN: Add math to its own namespace
|
2023-01-10 19:11:27 +02:00 |
Bananymous
|
1a65ea977d
|
BAN: Better ASSERT()
|
2023-01-10 17:43:18 +02:00 |
Bananymous
|
b60af90538
|
BAN: Add min, max and clamp
|
2022-12-30 19:52:16 +02:00 |
Bananymous
|
6732cabf20
|
BAN: StringView::Split now accepts a function
Original overload with char is not threadsafe anymore, but I don't
want to duplicate code :)
|
2022-12-20 11:50:32 +02:00 |
Bananymous
|
4c559f50a4
|
BAN: StringView::Split() now precomputes number of elements
We dont have to resize vector on PushBack()'s if we reserve required size
|
2022-12-20 11:37:28 +02:00 |
Bananymous
|
d5a068f90c
|
BAN: String and StringView don't have to compute strlen for equality
|
2022-12-20 11:36:01 +02:00 |
Bananymous
|
c21766760b
|
Add strlen comparing back to StringView since it is not nullterminated
|
2022-12-13 22:45:51 +02:00 |
Bananymous
|
ced05ff5f2
|
BAN: use only memcmp when comparing string(view) with const char*
|
2022-12-13 21:32:51 +02:00 |
Bananymous
|
5345b6b8c3
|
BAN: overloaded operator== for more types
|
2022-12-13 20:55:09 +02:00 |
Bananymous
|
cb6dee9d91
|
BAN: Implement more basic functionality
String has more features
StringView was implemented
Basic move semantics are now working
Added file for forward declarations
|
2022-12-13 20:41:32 +02:00 |
Bananymous
|
941238830e
|
BAN: Now actually build libban :D
|
2022-12-13 16:13:38 +02:00 |