diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index c1e9e86..d455aa9 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,3 +1,3 @@ # Codeowners for reviews on PRs -* @steve-downey @neatudarius @camio +* @steve-downey @neatudarius @camio diff --git a/README.md b/README.md index 49c0fe2..7e2a4e6 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ SPDX-License-Identifier: 2.0 license with LLVM exceptions --> - ![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) + ![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) 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 **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) -## License - -Source is licensed with the Apache 2.0 license with LLVM exceptions - -// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception - -Documentation and associated papers are licensed with the Creative Commons Attribution 4.0 International license. - -// SPDX-License-Identifier: CC-BY-4.0 - -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. - -The README itself is licensed with CC0 1.0 Universal. Copy the contents and incorporate in your own work as you see fit. - -// SPDX-License-Identifier: CC0-1.0 - ## Examples 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) { std::cout << "\"for each loop\" over C++26 optional: opt = " << i << "\n"; } ``` - Full code can be found in [./examples/range_loop.cpp](./examples/range_loop.cpp). Build and run instructions in [./examples/README.md](./examples/README.md). Or try it on Compiler Explorer: [range_loop.cpp@Compiler Explorer](https://godbolt.org/z/Gc6Y9j6zf). @@ -83,6 +66,22 @@ beman::optional::optional cat = api(); 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). +## License + +Source is licensed with the Apache 2.0 license with LLVM exceptions + +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + +Documentation and associated papers are licensed with the Creative Commons Attribution 4.0 International license. + +// SPDX-License-Identifier: CC-BY-4.0 + +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. + +The README itself is licensed with CC0 1.0 Universal. Copy the contents and incorporate in your own work as you see fit. + +// SPDX-License-Identifier: CC0-1.0 + ## How to Build ### Compiler Support