HuaHuaY commented on code in PR #51118:
URL: https://github.com/apache/arrow/pull/51118#discussion_r3970034413
##########
cpp/src/arrow/csv/lexing_internal.h:
##########
@@ -35,6 +37,26 @@ class SpecializedOptions {
static constexpr bool escaping = Escaping;
};
+template <bool... CompiledBools, typename Fn, typename... Rest>
+decltype(auto) DispatchBool(Fn&& fn, Rest... rest)
+ requires requires {
Review Comment:
Yes. The first `requires` is a syntactic construct. The second `requires` is
a requires expression. We need the second `requires` when checking whether a
statement compiles, rather than when passing a concept.
--
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]