You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2022/09/21 15:21:00 UTC

[jira] [Created] (ARROW-17803) [C++] Use [[nodiscard]]

Antoine Pitrou created ARROW-17803:
--------------------------------------

             Summary: [C++] Use [[nodiscard]]
                 Key: ARROW-17803
                 URL: https://issues.apache.org/jira/browse/ARROW-17803
             Project: Apache Arrow
          Issue Type: Task
          Components: C++
            Reporter: Antoine Pitrou
            Assignee: Antoine Pitrou
             Fix For: 10.0.0


We currently have a {{ARROW_MUST_USE_TYPE}} macro that's only enabled on clang-based builds.
Instead we can use the {{[[nodiscard]]}} that's standard in C++17.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)