HuaHuaY commented on code in PR #51118:
URL: https://github.com/apache/arrow/pull/51118#discussion_r3954718143
##########
cpp/src/arrow/csv/lexing_internal.h:
##########
@@ -35,6 +35,25 @@ class SpecializedOptions {
static constexpr bool escaping = Escaping;
};
+template <typename... CompiledBools, typename Fn, typename... Rest>
+ requires std::invocable<Fn, CompiledBools...,
+ std::conditional_t<true, std::true_type, Rest>...>
+decltype(auto) DispatchBool(Fn&& fn, Rest... rest) {
Review Comment:
I'm placing this utility function here because it can also be used later
when handling `SpecializedOptions` in `chunker.cc`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]