bitwizeshift / bitwizeshift/Alloy
Weak v-tables emissions
Open
Complexity: Trivial
Good First Issue
Priority: Low
Status: Available
Type: Bug Report
- Dominant language
- C++
- Stars
- 12
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
### Checklist
- [x] I did not find a duplicate of this bug in the Github Issues section.
----------
### Description
Writing `inline` functions that are also marked `virtual` results in the vtable
being emitted to each translation unit that includes that type.
These definitions should probably be moved to a cpp file instead, at the expense
of the function itself potentially not being inlined.
Certain compilers emit warnings on this from `-Wweak-vtables`
Contributor guide
Assessment
This issue has not been assessed yet.