Skip to content

[C++] Use [[nodiscard]] #33027

Description

@asfimport

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.

Reporter: Antoine Pitrou / @pitrou
Assignee: Antoine Pitrou / @pitrou

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-17803. Please see the migration documentation for further details.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions