Skip to content

Copy constructor and assignment operator are unnecessary #3

@AGFeldman

Description

@AGFeldman

In maze/src/common.hpp, we define a copy constructor and an assignment operator for the Coordinate class. But, these definitions are completely unnecessary, since the default copy constructor and default assignment operator do the exact same things (see http://www.cplusplus.com/articles/y8hv0pDG/). We should remove these two definitions and update the assignment writeup. This will be one fewer thing that students need to deal with.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions