Files
scylladb/utils
Avi Kivity 30b40bf7b1 db: make bytes even more distinct from sstring
bytes and sstring are distinct types, since their internal buffers are of
different length, but bytes_view is an alias of sstring_view, which makes
it possible of objects of different types to leak across the abstraction
boundary.

Fix this by making bytes a basic_sstring<int8_t, ...> instead of using char.
int8_t is a 'signed char', which is a distinct type from char, so now
bytes_view is a distinct type from sstring_view.

uint8_t would have been an even better choice, but that diverges from Origin
and would have required an audit.
2015-04-07 10:56:19 +03:00
..
2015-04-01 09:43:47 +02:00
2015-01-06 17:23:46 +08:00
2015-03-11 14:42:42 +02:00
2015-03-30 09:01:59 +02:00
2015-01-12 14:20:28 +02:00
2015-04-02 16:16:39 +02:00