Skip to content

ARROW-2442: [C++] Disambiguate builder Append() overloads#1900

Closed
pitrou wants to merge 2 commits intoapache:masterfrom
pitrou:ARROW-2442-builder-append-disambiguate
Closed

ARROW-2442: [C++] Disambiguate builder Append() overloads#1900
pitrou wants to merge 2 commits intoapache:masterfrom
pitrou:ARROW-2442-builder-append-disambiguate

Conversation

@pitrou
Copy link
Copy Markdown
Member

@pitrou pitrou commented Apr 16, 2018

Vector-style Append() methods are renamed AppendValues().
The original methods are marked deprecated.

Vector-style Append() methods are renamed AppendValues().
The original methods are marked deprecated.
@pitrou
Copy link
Copy Markdown
Member Author

pitrou commented Apr 16, 2018

Is it worth adding deprecation pragmas so that users of those functions get a compiler warning?

See https://stackoverflow.com/questions/295120/c-mark-as-deprecated

Answer: we already have such a macro in util/variant.h, we can just reuse it.

@pitrou pitrou force-pushed the ARROW-2442-builder-append-disambiguate branch from 3d00cca to b6f597e Compare April 17, 2018 11:19
Copy link
Copy Markdown
Member

@xhochy xhochy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM

@xhochy xhochy closed this in d7d3196 Apr 18, 2018
@pitrou pitrou deleted the ARROW-2442-builder-append-disambiguate branch April 18, 2018 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants