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
|
4b0e288f00
|
util/{Const,Writable}Buffer: add noexcept
|
2020-01-03 15:55:05 +01:00 |
|
Max Kellermann
|
855750c784
|
util/{Const,Writable}Buffer: add method SetEnd()
|
2018-08-21 08:20:17 +02:00 |
|
Max Kellermann
|
0066f7a818
|
util/{Const,Writable}Buffer: add constructor with two pointers
|
2018-01-16 11:06:33 +01:00 |
|
Max Kellermann
|
65059f2add
|
util/{Const,Writable}Buffer: eliminate static method Null(), use nullptr cast instead
|
2018-01-16 11:04:51 +01:00 |
|
Max Kellermann
|
2670e13cbd
|
util/{Const,Writable}Buffer: add static_assert to FromVoid()
|
2017-11-10 19:43:17 +01:00 |
|
Max Kellermann
|
49784513b1
|
util/{Const,Writable}Buffer, ...: rename IsEmpty() to empty(), imitating STL
|
2017-11-10 19:24:33 +01:00 |
|
Max Kellermann
|
3e5ce3c92c
|
util/{Const,Writable}Buffer: add static method FromVoidFloor()
|
2017-09-21 21:45:39 +02:00 |
|
Max Kellermann
|
e5c9b4cd75
|
util/{Const,Writable}Buffer: add operator==(nullptr_t)
|
2017-09-21 20:34:36 +02:00 |
|
Max Kellermann
|
f46ac45d69
|
util/*: update include guards
|
2017-09-13 10:35:11 +02:00 |
|
Max Kellermann
|
9237f2a80c
|
util/{Const,Writable}Buffer: add array constructor
|
2017-07-05 12:09:27 +02:00 |
|
Max Kellermann
|
61aca389c4
|
util/{Const,Writable}Buffer: add typedef value_type
|
2017-07-05 12:08:34 +02:00 |
|
Max Kellermann
|
a057b4f6d8
|
*: add lost of "noexcept" specifications
|
2017-06-04 12:46:48 +02:00 |
|
Max Kellermann
|
6eea56861b
|
AUTHORS, ...: update my email address
|
2017-01-17 11:54:55 +01:00 |
|
Max Kellermann
|
438b7b7bd0
|
util/ConstBuffer: add method MoveFront()
|
2015-10-16 09:00:36 +02:00 |
|
Max Kellermann
|
211aea1441
|
util/ConstBuffer: add method skip_front()
|
2014-06-26 22:25:03 +02:00 |
|
Max Kellermann
|
74a46788cd
|
util/ConstBuffer: wrap assert() in NDEBUG check
Fixes build failure because assert.h was not included.
|
2014-06-26 13:31:48 +02:00 |
|
Max Kellermann
|
7213c26798
|
util/ConstBuffer: add method Contains()
|
2014-06-23 22:30:01 +02:00 |
|
Max Kellermann
|
7fb9bebd46
|
util/{Const,Writable}Buffer: add front(), back(), pop_{front,back}(), shift()
|
2014-04-24 09:50:19 +02:00 |
|
Max Kellermann
|
3b8a9dd6ec
|
util/{Const,Writable}Buffer: add typedef reference_type
|
2014-04-24 09:47:59 +02:00 |
|
Max Kellermann
|
a68acf5c66
|
util/ConstBuffer: add FromVoid(), ToVoid() to "void" specialization
Provide the full API.
|
2014-03-18 12:09:17 +01:00 |
|
Max Kellermann
|
4ba7427fa0
|
util/{Const,Writable}Buffer: add operator[]
|
2014-03-01 07:49:13 +01:00 |
|
Max Kellermann
|
9dc5335e3e
|
util/{Const,Writable}Buffer: add template specialization for "void"
Omit a few methods that are not applicable.
|
2014-03-01 07:37:58 +01:00 |
|
Max Kellermann
|
d333de1980
|
util/ConstBuffer: remove cast operator ConstBuffer<void>
This was bugged, because it did not scale the "size".
|
2014-03-01 07:37:20 +01:00 |
|
Max Kellermann
|
6f47c1ca20
|
util/ConstBuffer: new utility class
|
2013-11-29 22:06:04 +01:00 |
|