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

Switch to newer C++ standard #50

Open
wtraylor opened this issue Jul 28, 2021 · 0 comments
Open

Switch to newer C++ standard #50

wtraylor opened this issue Jul 28, 2021 · 0 comments
Labels
refactoring Restructuring or rewriting of code

Comments

@wtraylor
Copy link
Owner

wtraylor commented Jul 28, 2021

At some point, the codebase should be updated to C++17 or C++20. The reason why I didn’t use these standards in the first place was because even C++17 still seemed too new at the time to be available on typical workstations.

Here I list what should be considered when switching:

Use deprecated attribute (C++14):

  • Fauna::World::simulate_day(const Fauna::Date& date, const bool)
  • Fauna::World::World()

Use std::filesystem (C++17) for functions in src/Fauna/filesystem.h.

@wtraylor wtraylor added the refactoring Restructuring or rewriting of code label Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Restructuring or rewriting of code
Projects
None yet
Development

No branches or pull requests

1 participant