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/04/18 02:21:27 UTC

[GitHub] [arrow] PragmaTwice commented on pull request #34002: GH-34001: [C++] Add more rvalue overload for Status::operator&

PragmaTwice commented on PR #34002:
URL: https://github.com/apache/arrow/pull/34002#issuecomment-1512342621

   It appears that there are only a few individuals in the Arrow community who have good knowledge of C++.
   
   To begin with, I am confident that my code is accurate. Comparable code can be found in the standard library, such as `std::optional<T>::value_or`. In future versions of C++ (23 or later), we may even use *deducing this* to apply universal forwarding on `*this` and prevent redundant code.
   
   Furthermore, I am uncertain why method functions within class scope necessitate an `inline` specifier. This is implicit in the C++ standard and does not require explicit declaration.
   


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