isocpp / isocpp/CppCoreGuidelines

C.hier: discussion on alternative implementations of run-time polimorphism is missing.

Open
#1,225 1 comment 0 reactions 1 assignee View on GitHub

@hsutter is already working on this.

Since Jul 9, 2018.

Dominant language
CSS
Stars
45.3k
Forks
5.6k
PR merge metrics
No merged PRs in 30d

Description

There is a long section on the rules of implementing run-time polimorphism via class hierarchies, but no guidelines on the alternative implementations on runtime-polimorphism, (I.e., with std::variant, or type erased containers).

I think some guidance on when to use which sollution would also be great. (I am addicted to variants these days, so I cannot really come up with those ...)

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.