Skip to content
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

C++20 compatible polyfill for <expected> #155

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from
Draft

Conversation

Bronek
Copy link
Collaborator

@Bronek Bronek commented Jan 18, 2025

ONLY A DUMMY AT THIS TIME

I plan to add actual implementation and unit tests, honest. The goal is to remove a major blocker for C++20 compatibility.

@Bronek Bronek added c++20 Support for C++20 work in progress Work in progress, a.k.a. early draft labels Jan 18, 2025
@Bronek Bronek force-pushed the expected_polyfill branch from e6a5344 to acdd08e Compare January 18, 2025 21:14
@Bronek Bronek changed the title C++20 compatible polyfill for <expected> C++20 compatible polyfill for <expected> Jan 18, 2025
Copy link

codecov bot commented Jan 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.7%. Comparing base (5205895) to head (4ef3afd).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##            main    #155     +/-   ##
=======================================
+ Coverage   99.5%   99.7%   +0.1%     
=======================================
  Files         19      20      +1     
  Lines        827     862     +35     
  Branches     121     121             
=======================================
+ Hits         823     859     +36     
+ Misses         4       3      -1     
Files with missing lines Coverage Δ
include/fn/and_then.hpp 100.0% <ø> (ø)
include/fn/choice.hpp 100.0% <ø> (+2.0%) ⬆️
include/fn/detail/functional.hpp 100.0% <ø> (ø)
include/fn/detail/pack_impl.hpp 100.0% <ø> (ø)
include/fn/detail/variadic_union.hpp 98.7% <ø> (ø)
include/fn/expected.hpp 99.7% <ø> (ø)
include/fn/fail.hpp 100.0% <ø> (ø)
include/fn/filter.hpp 100.0% <ø> (ø)
include/fn/functional.hpp 100.0% <ø> (ø)
include/fn/inspect.hpp 100.0% <ø> (ø)
... and 10 more

Impacted file tree graph

@Bronek Bronek force-pushed the expected_polyfill branch from 3971917 to 1ec1b3a Compare February 1, 2025 20:40
@Bronek Bronek force-pushed the expected_polyfill branch 4 times, most recently from 950a56f to f01699f Compare February 1, 2025 23:08
@Bronek Bronek force-pushed the expected_polyfill branch 8 times, most recently from 7bdf1fd to e2cf86f Compare February 2, 2025 12:18
@Bronek Bronek force-pushed the expected_polyfill branch 6 times, most recently from a89401d to 23e432e Compare February 2, 2025 17:41
@Bronek Bronek force-pushed the expected_polyfill branch from 23e432e to 4ef3afd Compare February 2, 2025 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++20 Support for C++20 work in progress Work in progress, a.k.a. early draft
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant