Max Kellermann
|
eea2d35d3a
|
util/AllocatedString, ...: add missing include for std::exchange()
Fixes building with GCC 12.
|
2021-11-19 16:06:20 +01:00 |
|
Max Kellermann
|
52f46b94e9
|
util/AllocatedString: add concatenating constructor
|
2021-04-06 14:06:16 +02:00 |
|
Max Kellermann
|
9b2eb74f95
|
util/AllocatedString: fix operator= parameter type
|
2021-01-21 20:44:07 +01:00 |
|
Max Kellermann
|
84084baa65
|
util/AllocatedString: remove wrong std:: prefix
|
2021-01-21 20:16:32 +01:00 |
|
Max Kellermann
|
3bc45fbf68
|
util/AllocatedString: remove Null(), IsNull()
|
2021-01-21 20:12:05 +01:00 |
|
Max Kellermann
|
36168a24f5
|
util/AllocatedString: support casting a nulled instance to string_view
|
2021-01-21 20:06:01 +01:00 |
|
Max Kellermann
|
0ded23591b
|
util/AllocatedString: add operator=()
|
2021-01-21 20:02:52 +01:00 |
|
Max Kellermann
|
c1a7aa652d
|
util/AllocatedString: replace Clone() with copy constructor
|
2021-01-21 20:02:41 +01:00 |
|
Max Kellermann
|
8d47f51399
|
util/AllocatedString: add const_pointer constructor
|
2021-01-21 18:06:10 +01:00 |
|
Max Kellermann
|
a81c9bfb81
|
util/AllocatedString: add string_view constructor
Replaces the static Duplicate() method.
|
2021-01-21 18:05:51 +01:00 |
|
Max Kellermann
|
1caf57644f
|
util/AllocatedString: add default constructor
|
2021-01-21 18:05:50 +01:00 |
|
Max Kellermann
|
c70b63c183
|
util/AllocatedString: rename to BasicAllocatedString
To make things simpler, AllocatedString is now a non-template class.
|
2021-01-21 18:04:03 +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 |
|