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

Use concept instead of static_assert in Async framework #1346

Open
godexsoft opened this issue Apr 10, 2024 · 0 comments
Open

Use concept instead of static_assert in Async framework #1346

godexsoft opened this issue Apr 10, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@godexsoft
Copy link
Collaborator

Summary

static_assert(not std::is_same_v<RetType, std::any>);

can be rewritten using a requires clause or a concept.

Motivation

Better output on error.

@godexsoft godexsoft added the enhancement New feature or request label Apr 10, 2024
@kuznetsss kuznetsss added this to the Future milestone Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants