Pavel Emelyanov
b3a4f9e194
utils: Introduce || operator for named_values
...
Those named_values that support .empty() check can be "selected"
like this
auto& v = option_a() || option_b() || option_c();
This code will put into v a reference to the first non-empty
named_value out of a/b/c.
This "selection" is actually used on start when scylla decides
which config options to use as listen/broadcact/rpc/etc. addresses.
Signed-off-by: Pavel Emelyanov <xemul@scylladb.com >
2021-11-08 17:33:27 +03:00
..
2021-06-06 19:18:49 +03:00
2021-07-02 19:02:14 +02:00
2021-09-15 12:55:54 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2018-12-24 09:58:08 +02:00
2018-12-24 09:58:08 +02:00
2021-06-06 19:18:49 +03:00
2021-08-09 09:24:36 +02:00
2021-10-05 12:57:54 +02:00
2021-07-28 13:28:21 +03:00
2021-07-28 13:28:21 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-10-27 17:02:00 +03:00
2021-06-06 19:18:49 +03:00
2021-09-23 12:28:56 +02:00
2021-06-06 19:18:49 +03:00
2021-10-13 12:39:36 +03:00
2021-06-06 19:18:49 +03:00
2021-08-02 17:41:21 +03:00
2021-06-08 11:40:55 +03:00
2021-08-26 17:22:22 +03:00
2021-06-06 19:18:49 +03:00
2021-08-22 21:11:39 +03:00
2021-11-08 17:33:27 +03:00
2021-07-22 13:28:43 +03:00
2021-06-06 19:18:49 +03:00
2021-09-15 17:35:12 +03:00
2021-06-06 19:18:49 +03:00
2021-10-11 11:03:51 +03:00
2021-10-11 11:03:51 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-07-02 19:02:13 +02:00
2021-06-13 13:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-10-28 08:58:25 +03:00
2021-07-08 15:23:29 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-07-28 13:27:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-11-02 10:50:31 +01:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-07-28 13:29:50 +03:00
2021-08-31 12:36:54 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-07 15:58:35 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-08-22 16:49:40 +03:00
2021-08-22 16:49:40 +03:00
2021-06-06 19:18:49 +03:00
2021-10-28 10:48:08 +03:00
2021-08-01 19:34:13 +03:00
2021-07-02 10:25:58 +02:00
2021-06-06 19:18:49 +03:00
2021-10-10 18:16:50 +03:00
2021-06-06 19:18:49 +03:00
2021-07-02 19:02:14 +02:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-07 15:58:35 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-11-04 16:35:38 +01:00
2021-11-04 16:35:38 +01:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-09-15 12:55:54 +03:00
2021-07-01 19:16:11 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-05-30 23:23:20 +03:00
2021-01-15 14:05:44 +01:00
2021-09-09 11:49:05 +03:00
2021-09-09 11:49:05 +03:00
2021-06-06 19:18:49 +03:00
2021-07-28 13:20:32 +03:00
2021-07-27 20:08:47 +03:00
2021-06-16 17:47:10 +03:00