Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated (and to be removed) std::allocator<void> #770

Open
tobiasneumann opened this issue Sep 27, 2023 · 1 comment
Open

Remove deprecated (and to be removed) std::allocator<void> #770

tobiasneumann opened this issue Sep 27, 2023 · 1 comment
Labels
more-information-needed Further information is required

Comments

@tobiasneumann
Copy link

Bug report

Required Info:

  • Operating System:
    • Debian 12
  • Installation type:
    • source
  • Version or commit hash:
    • HEAD
  • DDS implementation:
    • N/A
  • Client library (if applicable):
    • N/A

Steps to reproduce issue

Build this code with C++17 or higher and -Wdeprecated-declarations.

Expected behavior

It compiles without warnings.

Actual behavior

It compiles with warnings.

Additional information

std::allocator<void> is deprecated in C++17 and removed in C++20.
https://en.cppreference.com/w/cpp/memory/allocator

@clalancette
Copy link
Contributor

Yeah, I see what you mean about the removal. Do you happen to know what the replacement should be? Also pinging @azeey , @wjwwood for advice.

@clalancette clalancette added the more-information-needed Further information is required label Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more-information-needed Further information is required
Projects
None yet
Development

No branches or pull requests

2 participants