Skip to content

Use recursive lambdas instead of recursive functions #1

@rdong8

Description

@rdong8

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 {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions