Skip to content

All executor facilities should be constexpr when possible #119

Open
@ericniebler

Description

@ericniebler

Issue by miscco
Wednesday Nov 10, 2021 at 08:06 GMT
Originally opened as NVIDIA/stdexec#246


Currently we have a some facilities, e.g. some adaptors and most factories that are not specified to be constexpr

I believe we should add constexpr support whenever possible. Yes it will not help at runtime, looking at recent improvements for compile time testing of user code, we should not restrict ourselves needlessly.

If there is no significant opposition coming up I will prepare a PR to fix that when possible

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2discussionWe need to talk about this; there's nothing actionable here yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions