You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "PragmaTwice (via GitHub)" <gi...@apache.org> on 2023/01/29 07:31:12 UTC

[GitHub] [arrow] PragmaTwice opened a new issue, #33911: [C++] Broken univeral forwarding in Result::ValueOrElse

PragmaTwice opened a new issue, #33911:
URL: https://github.com/apache/arrow/issues/33911

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   https://github.com/apache/arrow/blob/4f1d255f3dc57457e5c78d98c4b76fc523cf9961/cpp/src/arrow/result.h#L369-L375
   
   The parameter `generate_alternative` is passed by univeral forwarding, but `std::forward` is missing to use it.
   
   This may result in incorrect overloading selection or compilation errors, such as a class type with the method `operator()() &&`.
   
   ### Component(s)
   
   C++


-- 
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-unsubscribe@arrow.apache.org.apache.org

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


[GitHub] [arrow] pitrou closed issue #33911: [C++] Broken univeral forwarding in Result::ValueOrElse

Posted by "pitrou (via GitHub)" <gi...@apache.org>.
pitrou closed issue #33911: [C++] Broken univeral forwarding in Result::ValueOrElse
URL: https://github.com/apache/arrow/issues/33911


-- 
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-unsubscribe@arrow.apache.org

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