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

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

     [ https://issues.apache.org/jira/browse/ARROW-17803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Pitrou resolved ARROW-17803.
------------------------------------
    Resolution: Fixed

Issue resolved by pull request 14193
[https://github.com/apache/arrow/pull/14193]

> [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
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 10.0.0
>
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> 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)