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 recursive lambdas instead of recursive functions #1

Open
rdong8 opened this issue Jan 4, 2024 · 0 comments
Open

Use recursive lambdas instead of recursive functions #1

rdong8 opened this issue Jan 4, 2024 · 0 comments

Comments

@rdong8
Copy link
Owner

rdong8 commented Jan 4, 2024

This could be a recursive lambda instead of a recursive function, but we need deducing this from C++23 which is implemented in clang-18. Since Fedora 39 currently only has clang-17, I have no way to test it currently.

auto print(const boost::system::error_code&, boost::asio::steady_timer& t, int& count) -> void {

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