Skip to content

[Discussion] RemoveVariables confusion #2366

Closed
@NAThompson

Description

The documentation for IO::RemoveVariable states:

Remove functions must be used with caution as they generate dangling Variable/Attributes pointers or references if they didn’t go out of scope.

I am confused by this; does the IO not have ownership of the data? If it does not own it, then shouldn't calling RemoveVariable be prohibited?

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