bkietz commented on issue #46207:
URL: https://github.com/apache/arrow/issues/46207#issuecomment-2822392479

   It's worth noting that `arrow::util::StringBuilderRecursive()` (and possibly 
`arrow::util::StringBuilder` itself) is a helper function which is no longer 
necessary in C++17 at all; we can use fold expressions to achieve the same 
result:
   
   ```c++
     template <typename... Args>
     static Status FromArgs(StatusCode code, const Args&... args) {
       std::stringstream ss;
       (ss << ... << args);
       return Status(code, ss.str());
     }
   ```


-- 
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