microsoft / microsoft/wil

Feature request: when built with `/std:c++latest` or future `/std:c++23`, support `std::expected<>` for `wil::reg::try_*`

Open
#452 4 comments 4 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

Something like std::expected<std::wstring, HRESULT> = wil::reg::try_get(...) would be a very handy API :)

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

The issue proposes adding a std::expected<std::wstring, HRESULT> form for wil::reg::try_* when built with /std:c++latest or future /std:c++23. No implementation files, tests, or entry points are named; done would mean the requested API is supported under those language modes.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.