Skip to content

Fix increment/decrement operator++/--(int) return value #277

@mborland

Description

@mborland

Should be:

const auto temp {*this};
  ++(*this);
  return temp;

and

const auto temp {*this};
  --(*this);
  return temp;

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions