Skip to content
New issue

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

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

Already on GitHub? # to your account

[SDL 0043] Move to the new C++11 standard #1493

Closed
theresalech opened this issue Apr 19, 2017 · 2 comments
Closed

[SDL 0043] Move to the new C++11 standard #1493

theresalech opened this issue Apr 19, 2017 · 2 comments
Labels
proposal Accepted SDL Evolution Proposal

Comments

@theresalech
Copy link
Contributor

Proposal: Move to the new C++11 standard

This proposal is geared to upgrade currently used C++98 standard to C++11 as the latter one has much more useful features and significant improvements from the performance point of view. Also it became more safe in runtime and allows to catch a lot of issues during the compilation stage.

Review: smartdevicelink/sdl_evolution#132

Steering Committee Decision:

The Steering Committee has agreed to accept this proposal, and noted that we will need to identify implementation timing and clarify LTS before implementation.

@jacobkeeler
Copy link
Contributor

Potential improvements to project using C++11 features (from proposal review):

  • Move semantics and rvalue reference.
  • Move constructors and assignment operators.
  • Variadic templates
  • Initializer list
  • Static assertion
  • Auto typed variables (should be done as new code is added)
  • SFINAE
  • Strongly typed enums
  • Default and deleted function
  • smart pointers - std::unique_ptr and std::shared_ptr

@theresalech
Copy link
Contributor Author

Closing as implemented in Core 5.0.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
proposal Accepted SDL Evolution Proposal
Projects
None yet
Development

No branches or pull requests

2 participants