Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Reference to popped stack element #30

@CblPOK-git

Description

@CblPOK-git

We don't write anything to stack after pop(), so everything works fine, but looks really bad. Maybe better to use
auto& val = stack[i]
instead of
auto& val = stack.pop()
(it will change address_in_stack and rw_circuit tests will start to fail, will need to also update tests)

const auto& x = stack.pop();

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions