QMCPACK / QMCPACK/qmcpack

Don't Set unintialized pointers to 0 or NULL set to nullptr

Open
#1,811 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
403
Forks
154
Avg merge
1d 12h
Merged PRs (30d)
82

Description

If you must have a raw pointer that you do not have at construction or definition time
```C++
MyPointedAtClass* my_pointer = nullptr;
```
```C++
MyClass::Myclass() : my_pointer_(nullptr) {}
```

This is a list of these found but that are not yet fixed

- [ ] `SimpleFixedNodeBranch::MyEstimator`

- [ ] `Login in other files based on SimpleFixedNodeBranch::getEstimaterManager()`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.