What's the reason Approx is not default constructible?

Open
#2,984 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp
Domain
testing

Research direction

Start by locating the Approx type in Catch2 and reproduce the reported attempt to create an array of Approx. Inspect the construction constraints and existing tests around Approx. Done should be a clear explanation of the behavior, or a narrowly scoped change with a regression test if the behavior is unintended.

Written by the indexing model from the issue text.

Description

Title, I saw this when creating an array of Approx

Dominant language
C++
Stars
21.6k
Forks
3.4k
Avg merge
3d 12h
Merged PRs (30d)
5

Getting set up

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.

More from catchorg/Catch2

All issues in catchorg/Catch2

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.