这是indexloc提供的服务,不要输入任何密码
Skip to content

type issue of let error #1564

@taooceros

Description

@taooceros

Looks like I am getting very weird compilation when trying to use let_error. I cannot specify type of the lambda to be either the actual error type nor std::exception_ptr. When I try to specify one of them, the compiler will complain it is not a well formed sender.

Looks like the problem is if some sender specify a different error type then they are not composable through |. I wonder whether this is intended and whether there are some recommended pattern for doing this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions