-
Notifications
You must be signed in to change notification settings - Fork 1.2k
refactor: using C++11/14/17 features in dash specifict code #5190
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
Conversation
|
(Also, please address CI failures) |
Co-authored-by: Pasta <pasta@dashboost.org
This changes are dropped, because confusion about size_t type in pushKV in univalue.h Should be done after this backport: |
Co-authored-by: Pasta <pasta@dashboost.org>
Co-authored-by: Pasta <pasta@dashboost.org>
UdjinM6
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one suggestion, LGTM otherwise
Co-authored-by: Pasta <pasta@dashboost.org>
UdjinM6
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
PastaPastaPasta
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK for squash merge
Issue being fixed or feature implemented
This refactoring helps to make code more specific and clear.
There's using syntax feature from modern C++ such as 'enum class', structure bindings in loops, declaration variables inside if/switch statements, etc.
What was done?
This PR is based on @PastaPastaPasta 's PR #4472
There excluded changes related to using std::optional. Let's decide firstly about
Resultclass: #5109How Has This Been Tested?
Run unit/functional tests
Breaking Changes
No breaking changes
Checklist: