Skip to content

Port the code to C++11 #977

Open
Open
@seladb

Description

@seladb

We recently moved to C++11 and big parts of the code are still using C++98 style.
This will be an ongoing task to port more and more parts of the code to C++11.

For example:

  • Use nullptr instead of NULL
  • Use auto where possible
  • Use enum class more
  • Use range-based loops where possible
  • Use delete, default, override where needed
  • Use unordered_map instead of map for better performance
  • etc.

IMPORTANT: this change can (and should) be done incrementally. Please try to open small PRs with not a lot of changes that are easy to review

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions