Skip to content

General questions about linalgcpp #23

@chakshinglee

Description

@chakshinglee

/*! @brief Vector view of data and size
@note Views are only modifiable if you own the view
that you plan to change it to.
If you want view A to be equal to view B,
you most own both A and B. Otherwise,
it is trivial to subvert const restrictions.
I'm not sure if this is good way or not to
deal w/ this.
*/

How do to determine if a view is owned?

By the way, should "most" be "must" in the documentation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions