-
Notifications
You must be signed in to change notification settings - Fork 1.5k
CDT_3: ship <tl/expected.hpp> (#9145) #9197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Replaces the FetchContent mechanism with a vendored copy of tl/expected.hpp (v1.1.0). The header is placed in CGAL/tl/expected.hpp to avoid namespace pollution. This also removes the CMake module CGAL_setup_tl-excepted.cmake. ## Release Management * Affected package(s): Constrained_triangulation_3 * Issue(s) solved (if any): CGAL#9145 * License and copyright ownership: CC0 1.0 Universal (tl/expected.hpp)
|
Thanks for the PR. I'd move the tl/expected.hpp file into |
|
I added the SPDX tag to the header. I cannot run the |
That is true. It could go in the
|
|
And does |
- update to [version 1.3.1](https://github.com/TartanLlama/expected/releases/tag/v1.3.1) - rename namespace `tl` to `CGAL::cpp23` - rename the file to `<CGAL/expected.h>` Once CGAL uses C++23. then that file will use `std::expected`.
Obviously I agree. And the C++ committee as well. The "lot of machinery" is just one added file under licence CC0, after this PR. |
|
And what about the |
|
Let's also add it to the official documentation. |
|
Successfully tested in CGAL-6.2-Ic-82 |
That part was not yet done. There are probably other things added to |
|
you can still open an issue and doc it when ready. There is no need to delay the integration that can be the cause of a failure in the testsuite during the fetch content. |
Replaces the
FetchContentmechanism with a vendored copy oftl/expected.hpp(v1.1.0).The header is placed in
CGAL/tl/expected.hppto avoid namespace pollution.This also removes the CMake module
CGAL_setup_tl-excepted.cmake.Release Management