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

Set initialize state for the Integer type #2548

Merged
merged 1 commit into from
Apr 14, 2021

Conversation

ZhdanovP
Copy link
Contributor

@ZhdanovP ZhdanovP commented Aug 28, 2018

Fixes #2440

This PR is ready for review.

Risk

This PR makes no API changes.

Summary

The default constructor of Interger class assigns the min value
for the wrapped variable, hoowever it keeps the initialize state us
Uninitialized. So in case when latter user apply such operations as
++, += the value will be changed but the state is not.

The commit adds ability to change initialize state for the class
after mentioned operations. So user does not have to call additionaly
initialize method.

CLA

The default constructor of Interger class assigns the min value
for the wrapped variable, hoowever it keeps the initialize state us
`Uninitialized`. So in case when latter user apply such operations as
`++`, `+=` the value will be changed but the state is not.

The commit adds ability to change initialize state for the class
after mentioned operations. So user does not have to call additionaly
`initialize` method.
@AByzhynar
Copy link
Contributor

@ZhdanovP Typo in branch name, commit and PR description. Check & correct

@iCollin iCollin merged commit ac528bb into develop Apr 14, 2021
@iCollin iCollin deleted the fix/Set_initialize_state_for_the_Interger_type branch April 14, 2021 19:49
@jacobkeeler jacobkeeler changed the title Set initialize state for the Interger type Set initialize state for the Integer type Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants