microsoft / microsoft/wil

[C++/WinRT] Helpers to make it easier to copy data from one collection type (std::initializer_list, etc.) to another (IVector, ValueSet, etc.)

Open
#356 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request
Dominant language
C++
Stars
3k
Forks
300
Avg merge
19h 12m
Merged PRs (30d)
1

Description

There are a few classes, such as ValueSet, in the inbox WinRT API set that implement collection interfaces. Currently populating them requires multiple IVector::Append or IMap::Insert calls, which is inconvenient. Consider adding a std::initializer_list constructor (and maybe others such as taking iterators) for simplified construction.

Contributor guide

No contributing guide indexed for this repository

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

No source file or test is named in the issue. Start by locating the WIL implementations for ValueSet and the referenced collection interfaces, then assess the proposed std::initializer_list and iterator construction options. Done means an agreed API scope and corresponding collection construction support with tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.