QMCPACK / QMCPACK/qmcpack

Base class type alias convention.

Open
#1,676 3 comments 0 reactions 0 assignees View on GitHub
cleanup discussion help wanted
Dominant language
C++
Stars
403
Forks
154
Avg merge
1d 12h
Merged PRs (30d)
82

Description

I propose the following, which is compatible with our current coding conventions. Recall type should be the only entities with leading caps.

```C++
template
class Derived : public A
{
using Base = A;
void myMethod(auto A) { Base::member_var = A; }
...
}
```
Multiple inheritance (MI) case, only necessary if there is ambiguity
template
class Derived : public A, B
{
using BaseA = A;
using BaseB = B;
...
}
```

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.