Skip to content

Commit

Permalink
WIP Refactor EntryModel (#576)
Browse files Browse the repository at this point in the history
* refactor Entry model for integeter and STL API likeness.

* Add more test coverage.

* Only place leading zeros if there is room.

* Overflow protection for leading zero count.

* Access for leading zeros present.

* increment/decrement operators plus improved clamping functionality.

* Add more tests.

* remove dead code.

* Add EntryModelBounded.

* Change all comments to C++ style for consistency.

* remove lower case hex option.

* Cleanup size_ handling.

* Change logic into assert which should always be true.

* Simplify code.

* Fix other review comments.

* Fix/add tests.

* Add access method for maximum size (in digits).
  • Loading branch information
bakerstu authored Oct 5, 2021
1 parent c2ecedc commit d9ae5f7
Show file tree
Hide file tree
Showing 2 changed files with 849 additions and 264 deletions.
Loading

0 comments on commit d9ae5f7

Please sign in to comment.