ORNL / ORNL/ReSolve

Consider using smart pointers in ReSolve

Open
#88 2 comments 0 reactions 1 assignee View on GitHub

@pelesh is already working on this.

Since Nov 29, 2023.

enhancement
Dominant language
C++
Stars
84
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Based on @cameronrutherford comment: This is endemic to ExaGO and HiOp, but I would be curious if we could get away from managing raw pointers like this, and have more of our examples use more modern C++ resource management techniques with shared/unique pointers where absolutely necessary, and then just having non-pointer variables here that are cleaned up without delete.

Originally posted by @cameronrutherford in https://github.com/ORNL/ReSolve/pull/83#discussion_r1409384571

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.