Max Kellermann
|
49784513b1
|
util/{Const,Writable}Buffer, ...: rename IsEmpty() to empty(), imitating STL
|
2017-11-10 19:24:33 +01:00 |
|
Max Kellermann
|
e4f62483ff
|
util/StringView: add default constructors
It was implicitly deleted since commit
db23c2f27b
|
2017-09-13 12:59:31 +02:00 |
|
Max Kellermann
|
eff821c1ca
|
Util/StringView: move struct WStringView to separate header
|
2017-09-13 11:22:59 +02:00 |
|
Max Kellermann
|
9e7df54ccd
|
Util/StringView: add struct TStringView
|
2017-09-12 19:12:09 +02:00 |
|
Max Kellermann
|
db23c2f27b
|
util/StringView: allow casting from BasicStringView to StringView
|
2017-09-12 19:08:47 +02:00 |
|
Max Kellermann
|
01f84b0e53
|
util/StringView: add struct WStringView
|
2017-09-12 17:17:13 +02:00 |
|
Max Kellermann
|
5dbdd36263
|
util/StringView: add struct BasicStringView
|
2017-09-12 17:17:13 +02:00 |
|
Max Kellermann
|
96b557c1f0
|
util/StringView: remove methods SetEmpty(), Empty()
|
2017-09-12 17:17:13 +02:00 |
|
Max Kellermann
|
1fda842ee6
|
util/StringView: use StringAPI.hxx
|
2017-09-12 17:00:42 +02:00 |
|
Max Kellermann
|
f71e20d0ce
|
util/StringView: use value_type
|
2017-09-12 17:00:38 +02:00 |
|
Max Kellermann
|
988680de33
|
util/StringView: remove unnecessary operator= overloads
These will be generated by the compiler automatically.
|
2017-09-12 17:00:02 +02:00 |
|
Max Kellermann
|
cdf92c6300
|
util/StringView: remove redundant template parameters
|
2017-09-12 16:57:19 +02:00 |
|
Max Kellermann
|
be5b726c0a
|
util/StringView: remove Literal()
This is not necessary, because a strlen() on a literal gets optimized
away by the compiler.
|
2017-09-12 16:55:10 +02:00 |
|
Max Kellermann
|
cdd2d4cc1d
|
util/StringView: add method EndsWith()
|
2017-05-17 12:39:01 +02:00 |
|
Max Kellermann
|
86a0a42a8d
|
util/StringView: add "noexcept"
|
2017-05-16 10:27:14 +02:00 |
|
Max Kellermann
|
6eea56861b
|
AUTHORS, ...: update my email address
|
2017-01-17 11:54:55 +01:00 |
|
Max Kellermann
|
b1becddf11
|
util/StringView: add method Strip()
|
2016-03-18 15:40:49 +01:00 |
|
Max Kellermann
|
b4e75bedf0
|
util/StringView: make nullptr_t constructor "constexpr"
|
2016-03-18 14:11:50 +01:00 |
|
Max Kellermann
|
b9a8b0d146
|
util/StringView: add method Literal()
|
2015-11-06 10:03:45 +01:00 |
|
Max Kellermann
|
27a40a9843
|
util/StringView: add methods StripLeft(), StripRight()
|
2015-10-16 08:59:47 +02:00 |
|
Max Kellermann
|
356c829b76
|
util/StringView: new utility class
|
2015-09-30 22:21:46 +02:00 |
|