Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add implicit conversion operators from node to node_view #52

Merged
merged 1 commit into from
Aug 8, 2020

Commits on Aug 8, 2020

  1. Add implicit conversion operator from node to node_view

    - Creates a node_view pointing to that node. This is similar to how std::string has a conversion operator creating a string_view of the string.
    - Also, enabled the move assignment operator for node_view, but made both copy and move assignment operators lvalue-only to avoid the "misleading assignment" issue (see marzer#49 (comment))
    Reedbeta committed Aug 8, 2020
    Configuration menu
    Copy the full SHA
    97b5fbe View commit details
    Browse the repository at this point in the history