oxen-mq/lokimq
Jason Rhinelander 68c1899cda C++17 changes; replace mapbox with std::variant
Various small C++17 code improvements.

Replace mapbox::variant with std::variant.

Remove the bt_u64 type wrapper; instead we know have `bt_value` which
wraps a variant holding both int64_t and uint64_t, and has contructors
to send signed/unsigned integer types into the appropriate one.
lokimq::get_int checks both as appropriate during extraction.

As a side effect this means we no longer do the uint64_t -> int64_t
conversion on the wire, ever, without needing the wrapper; although this
can break older versions sending large positive integers (i.e. larger
than int64_t max) those weren't actually working completely reliably
with mapbox variant anyway, and the one place using such a value in loki
core (in a checksum) is already fully upgraded across the network
(currently using bt_u64, but always sending a positive value on the
wire).
2020-05-14 20:19:43 -03:00
..
address.cpp C++17 changes; replace mapbox with std::variant 2020-05-14 20:19:43 -03:00
address.h Require C++17 2020-05-12 15:33:59 -03:00
auth.cpp Require C++17 2020-05-12 15:33:59 -03:00
auth.h Provide caller Access in Message 2020-04-23 21:52:39 -03:00
base32z.h Add it pair versions of {to,from}_{hex,base32z,base64} 2020-05-13 14:47:01 -03:00
base64.h Add it pair versions of {to,from}_{hex,base32z,base64} 2020-05-13 14:47:01 -03:00
batch.h Add ability to run a batch completion job in the proxy thread 2020-02-11 02:17:12 -04:00
bt_serialize.cpp C++17 changes; replace mapbox with std::variant 2020-05-14 20:19:43 -03:00
bt_serialize.h C++17 changes; replace mapbox with std::variant 2020-05-14 20:19:43 -03:00
connections.cpp Require C++17 2020-05-12 15:33:59 -03:00
connections.h C++17 changes; replace mapbox with std::variant 2020-05-14 20:19:43 -03:00
hex.h Add it pair versions of {to,from}_{hex,base32z,base64} 2020-05-13 14:47:01 -03:00
jobs.cpp Fix proxy thread stall when workers fill up 2020-04-21 16:55:40 -03:00
lokimq-internal.h Require C++17 2020-05-12 15:33:59 -03:00
lokimq.cpp C++17 class template deduction 2020-05-12 15:59:22 -03:00
lokimq.h Remove pre-C++17 workarounds/ifdefs 2020-05-12 15:50:36 -03:00
message.h Require C++17 2020-05-12 15:33:59 -03:00
proxy.cpp C++17 class template deduction 2020-05-12 15:59:22 -03:00
string_view.h Require C++17 2020-05-12 15:33:59 -03:00
version.h.in Add version to cmake, generate version header 2020-03-13 14:28:05 -03:00
worker.cpp C++17 changes; replace mapbox with std::variant 2020-05-14 20:19:43 -03:00