Skip to content

Commit 5d937dd

Browse files
authored
Merge pull request #133 from bemanproject/132-add-c26-badge
add badge to readme for target standard
2 parents e0db02c + ab09410 commit 5d937dd

File tree

2 files changed

+18
-19
lines changed

2 files changed

+18
-19
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Codeowners for reviews on PRs
22

3-
* @steve-downey @neatudarius @camio
3+
* @steve-downey @neatudarius @camio

README.md

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ SPDX-License-Identifier: 2.0 license with LLVM exceptions
55
-->
66

77
<!-- markdownlint-disable -->
8-
<img src="https://github.com/bemanproject/beman/blob/main/images/logos/beman_logo-beman_library_production_ready_api_may_undergo_changes.png" style="width:5%; height:auto;"> ![CI Tests](https://github.com/bemanproject/optional/actions/workflows/ci.yml/badge.svg) [![Coverage](https://coveralls.io/repos/github/bemanproject/optional/badge.svg?branch=main)](https://coveralls.io/github/bemanproject/optional?branch=main)
8+
<img src="https://github.com/bemanproject/beman/blob/main/images/logos/beman_logo-beman_library_production_ready_api_may_undergo_changes.png" style="width:5%; height:auto;"> ![CI Tests](https://github.com/bemanproject/optional/actions/workflows/ci.yml/badge.svg) [![Coverage](https://coveralls.io/repos/github/bemanproject/optional/badge.svg?branch=main)](https://coveralls.io/github/bemanproject/optional?branch=main) ![Standard Target](https://github.com/bemanproject/beman/blob/main/images/badges/cpp26.svg)
99
<!-- markdownlint-enable -->
1010

1111
This repository implements `std::optional` extensions targeting C++26. The `beman.optional` library aims to evaluate the stability, the usability, and the performance of these proposed changes before they are officially adopted by WG21 into the C++ Working Draft. Additionally, it allows developers to use these new features before they are implemented in major standard library compilers.
@@ -14,22 +14,6 @@ This repository implements `std::optional` extensions targeting C++26. The `bema
1414

1515
**Status**: [Production ready. API may undergo changes.](https://github.com/bemanproject/beman/blob/main/docs/BEMAN_LIBRARY_MATURITY_MODEL.md#production-ready-api-may-undergo-changes)
1616

17-
## License
18-
19-
Source is licensed with the Apache 2.0 license with LLVM exceptions
20-
21-
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
22-
23-
Documentation and associated papers are licensed with the Creative Commons Attribution 4.0 International license.
24-
25-
// SPDX-License-Identifier: CC-BY-4.0
26-
27-
The intent is that the source and documentation are available for use by people implementing their own optional types as well as people using the optional presented here as-is.
28-
29-
The README itself is licensed with CC0 1.0 Universal. Copy the contents and incorporate in your own work as you see fit.
30-
31-
// SPDX-License-Identifier: CC0-1.0
32-
3317
## Examples
3418

3519
Full runable examples can be found in `examples/` - please check [./examples/README.md](./examples/README.md).
@@ -54,7 +38,6 @@ for (const auto& i : opt) {
5438
std::cout << "\"for each loop\" over C++26 optional: opt = " << i << "\n";
5539
}
5640
```
57-
5841
Full code can be found in [./examples/range_loop.cpp](./examples/range_loop.cpp). Build and run instructions in
5942
[./examples/README.md](./examples/README.md). Or try it on Compiler Explorer: [range_loop.cpp@Compiler Explorer](https://godbolt.org/z/Gc6Y9j6zf).
6043

@@ -83,6 +66,22 @@ beman::optional::optional<Cat&> cat = api();
8366
8467
Full code can be found in [./examples/optional_ref.cpp](./examples/optional_ref.cpp). Build and run instructions in [./examples/README.md](./examples/README.md). Or try it on Compiler Explorer: [optional_ref.cpp@Compiler Explorer](https://godbolt.org/z/MxjdvTTov).
8568
69+
## License
70+
71+
Source is licensed with the Apache 2.0 license with LLVM exceptions
72+
73+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
74+
75+
Documentation and associated papers are licensed with the Creative Commons Attribution 4.0 International license.
76+
77+
// SPDX-License-Identifier: CC-BY-4.0
78+
79+
The intent is that the source and documentation are available for use by people implementing their own optional types as well as people using the optional presented here as-is.
80+
81+
The README itself is licensed with CC0 1.0 Universal. Copy the contents and incorporate in your own work as you see fit.
82+
83+
// SPDX-License-Identifier: CC0-1.0
84+
8685
## How to Build
8786
8887
### Compiler Support

0 commit comments

Comments
 (0)