microsoft / microsoft/STL

LWG-3819 `reference_meows_from_temporary` should not use `is_meowible`

Open
#5,756 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

compiler LWG
Dominant language
C++
Stars
11.2k
Forks
1.7k
Avg merge
4d 15h
Merged PRs (30d)
22

Description

LWG-3819 reference_meows_from_temporary should not use is_meowible

In #5537, @frederick-vs-ja said:

LWG-3819 has not been implemented. Because Clang's intrinsics haven't covered these cases, and library workaround doesn't seem possible.

Even if the resolution for this LWG issue needs to happen in the compilers, we still need test coverage when that becomes available. Per @joemmett in VSO-3000560, "Our implementation does not use is_meowable to determine these traits so we should be LWG-3819 compliant already."

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.

Research direction

Review LWG-3819 and the discussion in #5537, then locate the existing tests for the affected reference_* traits. Check the compiler-support limitation described in the issue and add the requested coverage when those cases are available; done means the LWG-3819 behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.