Max Kellermann
|
dc9103befe
|
util/AllocatedString: remove Null(), IsNull()
|
2021-03-04 18:05:29 +01:00 |
|
Max Kellermann
|
67760f5283
|
util/AllocatedString: support casting a nulled instance to string_view
|
2021-03-04 18:05:29 +01:00 |
|
Max Kellermann
|
99405a4c93
|
util/AllocatedString: add operator=()
|
2021-03-04 18:05:26 +01:00 |
|
Max Kellermann
|
b833c5d2c7
|
util/AllocatedString: replace Clone() with copy constructor
|
2021-03-04 18:04:21 +01:00 |
|
Max Kellermann
|
bca5d79f88
|
util/AllocatedString: add const_pointer constructor
|
2021-03-04 18:04:17 +01:00 |
|
Max Kellermann
|
6e1c8edf09
|
util/AllocatedString: add string_view constructor
Replaces the static Duplicate() method.
|
2021-03-04 18:04:11 +01:00 |
|
Max Kellermann
|
32b7b2e2fa
|
util/AllocatedString: add default constructor
|
2021-03-04 18:04:06 +01:00 |
|
Max Kellermann
|
cfb7f8ab84
|
util/AllocatedString: rename to BasicAllocatedString
To make things simpler, AllocatedString is now a non-template class.
|
2021-03-04 18:03:56 +01:00 |
|
Max Kellermann
|
915c48f748
|
util/AllocatedString: std::string_view support
|
2020-04-03 16:08:55 +02:00 |
|
Max Kellermann
|
f04a245769
|
util/AllocatedString: add noexcept
|
2020-04-03 15:26:47 +02:00 |
|
Max Kellermann
|
a8687fb7df
|
util/AllocatedString: use using instead of typedef
|
2020-04-03 15:25:37 +02:00 |
|
Max Kellermann
|
b11c5f8d30
|
util/{Const,Writable}Buffer: drop more "_type" suffixes from type names
|
2020-01-12 14:39:54 +01:00 |
|
Max Kellermann
|
4937d77cb6
|
util/{Const,Writable}Buffer: drop "_type" from type names
Behave like STL.
|
2020-01-03 15:55:06 +01:00 |
|
Max Kellermann
|
e654c6e005
|
util/{Const,Writable}Buffer: use std::size_t
|
2020-01-03 15:55:05 +01:00 |
|
Max Kellermann
|
71ace2fbac
|
util/AllocatedString: use std::exchange()
|
2020-01-03 15:54:51 +01:00 |
|
Max Kellermann
|
0c4a7c8004
|
util/AllocatedString: update copyright
|
2019-08-16 13:20:23 +02:00 |
|
Max Kellermann
|
d663f81420
|
include cleanups (powered by iwyu)
|
2019-07-05 09:59:58 +02:00 |
|
Max Kellermann
|
1d1259a86d
|
util/AllocatedString: add method data()
|
2017-09-13 10:34:12 +02:00 |
|
Max Kellermann
|
6eea56861b
|
AUTHORS, ...: update my email address
|
2017-01-17 11:54:55 +01:00 |
|
Max Kellermann
|
a67b7266ed
|
util/AllocatedString: work around bogus gcc6 warning
|
2016-05-11 17:10:15 +02:00 |
|
Max Kellermann
|
8ba3378096
|
util/AllocatedString: add operator==(nullptr)
|
2016-04-13 12:23:10 +02:00 |
|
Max Kellermann
|
fab5f58ee0
|
util/AllocatedString: add operator[]
|
2016-04-12 22:57:13 +02:00 |
|
Max Kellermann
|
55be8e6f52
|
util/AllocatedString: add typedef size_type
|
2016-04-12 22:56:57 +02:00 |
|
Max Kellermann
|
c75b9b0d12
|
util/StringPointer: add typedef reference_type
|
2016-04-12 22:55:12 +02:00 |
|
Max Kellermann
|
9b85446808
|
util/StringPointer: rename typedef pointer to pointer_type
|
2016-04-12 22:53:06 +02:00 |
|
Max Kellermann
|
e31cdf0df9
|
util/AllocatedString: fix off-by-one bug in Duplicate()
|
2015-09-01 23:33:19 +02:00 |
|
Max Kellermann
|
ffe689363f
|
util/AllocatedString: add constant "SENTINEL"
|
2015-09-01 21:11:22 +02:00 |
|
Max Kellermann
|
037d1d9ad1
|
util/AllocatedString: add methods Duplicate(), Clone()
|
2015-06-25 23:44:16 +02:00 |
|
Max Kellermann
|
619ef2b341
|
util/AllocatedString: add method empty()
|
2015-06-25 23:44:16 +02:00 |
|
Max Kellermann
|
61a3028788
|
util/AllocatedString: remove bogus code from operator=
|
2015-06-23 13:20:11 +02:00 |
|
Max Kellermann
|
11d048b8e3
|
util/AllocatedString: new utility class
|
2015-06-23 12:48:21 +02:00 |
|