Files
scylladb/tools
Kefu Chai 4ee2aee279 tools/scylla-nodetool: define operator<< for vector<sstring>
we already have generic operator<< based formatter for sequence-alike
ranges defined in `utils/to_string.hh`, but as a part of efforts to
address #13245, we will eventually drop the formatter.

to prepare for this change, we should create/find the alternatives
where the operator<< for printing the ranges is still used.
Boost::program_options is one of them. it prints the options' default
values using operator<< in its error message or usage. so in order
to keep it working, we define operator<< for `vector<sstring>` here.
if there are more types are required, we will need the generalize
this formatter. if there are more needs from different compiling
units, we might need to extract this helper into, for instance,
`utils/to_string.hh`. but we should do this after removing it.

Refs #13245

Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>

Closes scylladb/scylladb#17413
2024-02-22 09:01:04 +02:00
..
2024-01-19 11:23:22 +01:00
2024-02-09 16:34:47 +01:00
2024-01-10 08:53:20 +02:00
2023-09-11 21:38:02 +03:00
2024-02-12 18:36:11 +02:00