Skip to content

Make lack of implict copy very clear. Add .copy() function. #14

@nmwsharp

Description

@nmwsharp

Right now the main PlyData class cannot be implicitly copied. This is probably the right behavior; doing so is likely a mistake.

However, we can improve the situation in two ways

  • Explicitly delete the copy constructor, to make it clear that the behavior is intentional
  • Provide a .copy() function for the few situations where one really does want to explicitly copy

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions