NVIDIA / NVIDIA/cuda-quantum

StdVec construction from assignment operator

Open
#1,223 0 comments 0 reactions 2 assignees View on GitHub

@schweitzpgi is already working on this.

Since Feb 13, 2024.

language stale-notified
Dominant language
C++
Stars
1.1k
Forks
456
Avg merge
1d 22h
Merged PRs (30d)
165

Description

__qpu__ void test2() {
  std::vector<std::vector<std::size_t>> myList{{0, 1}, {1, 2}};
  std::vector<std::size_t> inner = myList[0];
}

currently fails with

checkExpr.cpp:18:32: error: C++ constructor (not-default) is not yet supported

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.