Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Arniiiii committed Oct 5, 2024
2 parents 6c6f9ea + 126539e commit cc080fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ jobs:
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: "Upload artifact"
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: SARIF file
path: results.sarif
retention-days: 5

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3.25.15
uses: github/codeql-action/upload-sarif@4dd16135b69a43b6c8efb853346f8437d92d3c93 # v3.26.6
with:
sarif_file: results.sarif
7 changes: 2 additions & 5 deletions doc/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,13 +321,10 @@ constexpr bool enum_contains(string_view value, BinaryPredicate p) noexcept(is_n

```cpp
template <typename E>
constexpr bool enum_contains(E value) noexcept;
constexpr bool enum_reflected(E value) noexcept;

template <typename E>
constexpr bool enum_contains(underlying_type_t<E> value) noexcept;

template <typename E>
constexpr bool enum_contains(string_view value) noexcept;
constexpr bool enum_reflected(underlying_type_t<E> value) noexcept;
```
* Returns true if the enum value is in the range of values that can be reflected.
Expand Down

0 comments on commit cc080fa

Please sign in to comment.