You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some improvements/changes can be made to some parts of the code in this repo:
cpp The copy constructor and equals assignment operator should probably be deleted in the NBodySimulator because it has a member variable which is a vector of unique ptrs.
cpp const & on some of the return types can be used.
Primitive data types passed as parameters to functions can be const.
Some improvements/changes can be made to some parts of the code in this repo:
cpp
The copy constructor and equals assignment operator should probably be deleted in the NBodySimulator because it has a member variable which is a vector of unique ptrs.cpp
const & on some of the return types can be used.const
.- Using
std::erase_if
instead ofstd::remove_if
andstd::erase
The text was updated successfully, but these errors were encountered: