mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-14 06:48:39 -04:00
Add TODOs for ranges when we switch to C++23
This commit is contained in:
parent
9d5969adb7
commit
3b5b15eaf8
@ -76,6 +76,8 @@ void parse_order_option(std::string_view ordname, std::string_view opt,
|
||||
} // namespace
|
||||
|
||||
std::string fragment_order_parser::choices() {
|
||||
// TODO: C++23
|
||||
// auto tools = std::views::keys(order_choices) | std::views::join_with(", ");
|
||||
using namespace folly::gen;
|
||||
return from(order_choices) | get<0>() | unsplit<std::string>(", ");
|
||||
}
|
||||
|
@ -108,6 +108,8 @@ int SYS_MAIN(int argc, sys_char** argv) {
|
||||
|
||||
using namespace folly::gen;
|
||||
|
||||
// TODO: C++23
|
||||
// auto tools = std::views::keys(functions) | std::views::join_with(", ");
|
||||
auto tools = from(functions) | get<0>() | unsplit(", ");
|
||||
|
||||
// clang-format off
|
||||
|
Loading…
x
Reference in New Issue
Block a user