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 6 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.5%. Comparing base (5205895) to head (f94cb5f).

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main    #155   +/-   ##
=====================================
  Coverage   99.5%   99.5%           
=====================================
  Files         19      20    +1     
  Lines        827     841   +14     
  Branches     121     121           
=====================================
+ Hits         823     837   +14     
  Misses         4       4           
Files with missing lines Coverage Δ
include/fn/and_then.hpp 100.0% <ø> (ø)
include/fn/choice.hpp 98.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

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