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

Emtpy stack operation now a singleton #1383

Merged
merged 5 commits into from
Oct 7, 2024

Conversation

OlivierBBB
Copy link
Collaborator

Replaces the "empty stack operation" constructor public StackOperation() { ... } with a pointer to a singleton EmptyStackOperation.

@OlivierBBB OlivierBBB linked an issue Oct 6, 2024 that may be closed by this pull request
Copy link
Collaborator

@letypequividelespoubelles letypequividelespoubelles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@OlivierBBB OlivierBBB requested a review from ahamlat October 7, 2024 10:26
Copy link
Collaborator

@lu-pinto lu-pinto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@ahamlat ahamlat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, only one last comment to improve readability.

@OlivierBBB OlivierBBB enabled auto-merge (squash) October 7, 2024 12:39
@OlivierBBB OlivierBBB disabled auto-merge October 7, 2024 12:39
@OlivierBBB OlivierBBB enabled auto-merge (squash) October 7, 2024 12:39
@OlivierBBB OlivierBBB merged commit 3683f42 into arith-dev Oct 7, 2024
5 checks passed
@OlivierBBB OlivierBBB deleted the 1382-split-stackoperations-into-variants branch October 7, 2024 13:07
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.

Split StackOperations into variants
4 participants