microsoft / microsoft/wil

try_open_file is part of WIL_ENABLE_EXCEPTIONS block

Open
#453 3 comments 0 reactions 1 assignee View on GitHub

@ChrisGuzak is already working on this.

Since Jul 25, 2024.

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

Description

filesystem.h:1130

try_open_file does not throw exceptions as it returns a file+error result. But its disabled because it's inside the ifdef WIL_ENABLE_EXCEPTIONS.

Does this still throw or is this just a bug?

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.