kszucs commented on PR #45815:
URL: https://github.com/apache/arrow/pull/45815#issuecomment-2729382776

   Shall we explicitly test the following use case?
   
   ```cpp
   auto handle_type = [&](auto&& type) {
       using Type = std::decay_t<decltype(type)>;
       if constexpr (::arrow::is_boolean(Type::type_id)) {
         ...
       }
       else if constexpr (::arrow::is_primitive(Type::type_id)) {
           ...
       }
       /* else etc. */
     };
     return VisitType(*values.type(), handle_type);
   ```
   
   If yes, then where? Perhaps modify an existing use case?


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to