Avi Kivity
a55b434a2b
treewide: extent copyright statements to present day
2021-06-06 19:18:49 +03:00
Michał Chojnowski
f972f90193
utils: mutable_view: add front()
...
We will use it in the upcoming patches.
2021-02-16 21:35:14 +01:00
Michał Chojnowski
4822730752
utils: mutable_view: add substr()
...
Analogous to bytes_view::substr.
This bit of functionality will be used to implement managed_bytes_mutable_view.
2021-01-08 13:17:46 +01:00
Botond Dénes
e0284bb9ee
treewide: add missing headers and/or forward declarations
2020-03-23 09:29:45 +02:00
Duarte Nunes
fa2b0384d2
Replace std::experimental types with C++17 std version.
...
Replace stdx::optional and stdx::string_view with the C++ std
counterparts.
Some instances of boost::variant were also replaced with std::variant,
namely those that called seastar::visit.
Scylla now requires GCC 8 to compile.
Signed-off-by: Duarte Nunes <duarte@scylladb.com >
Message-Id: <20190108111141.5369-1-duarte@scylladb.com >
2019-01-08 13:16:36 +02:00
Paweł Dziepak
f7438a8b96
mutable_view: add default constructor and const_iterator
...
Makes the interface more consistent with bytes_view.
2018-05-09 16:52:26 +01:00
Paweł Dziepak
0ed2352ade
utils: introduce mutable_view
...
std::basic_string_view does not allow modifying the underlying buffer.
This patch introduces a mutable_view which permits that.
2017-03-02 09:05:10 +00:00