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

static assertion to assert some type is some kind of Result #52

Open
sam0x17 opened this issue Feb 9, 2023 · 0 comments
Open

static assertion to assert some type is some kind of Result #52

sam0x17 opened this issue Feb 9, 2023 · 0 comments

Comments

@sam0x17
Copy link

sam0x17 commented Feb 9, 2023

I have a situation where I have a return type on a user-created function and I need to assert that it returns some kind of Result without caring about the generic T and E params. How can I do this?

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

No branches or pull requests

1 participant