FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

is()/as(): refactor of is() and as() for std::any and std::optional to new design (part 3 of n) by filipsajdak · Pull Request #1251 · hsutter/cppfront · GitHub

is()/as(): refactor of is() and as() for std::any and std::optional to new design (part 3 of n) - #1251

Merged
hsutter merged 3 commits into
hsutter:mainfrom
filipsajdak:fsajdak-extension-of-is-part4
Sep 3, 2024
Merged

hsutter merged 3 commits into
hsutter:mainfrom
filipsajdak:fsajdak-extension-of-is-part4

Conversation

filipsajdak commented Aug 20, 2024 •
edited
Loading

Copy link
Copy Markdown
Contributor

Aligning implementation of is() and as() to the rest of the functions.

Keep them as separate functions to make them examples of how to extend is()/as() with custom-made functions.

This PR is based on #1203

filipsajdak force-pushed the fsajdak-extension-of-is-part4 branch 2 times, most recently from 4960b77 to 4e3a1b5 Compare August 29, 2024 14:56
filipsajdak force-pushed the fsajdak-extension-of-is-part4 branch from 4e3a1b5 to fb5e13b Compare August 29, 2024 21:44

Copy link
Copy Markdown
Contributor Author

This PR has an experimental continuation here: #1267 that uses type_safety to handle failures.

hsutter merged commit 2949161 into hsutter:main Sep 3, 2024

hsutter commented Sep 3, 2024

Copy link
Copy Markdown
Owner

Thanks!

filipsajdak deleted the fsajdak-extension-of-is-part4 branch September 3, 2024 22:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL