Skip to content

Rename move_constructible_only to clarify sendability semantics #812

Description

@coderabbitai

Summary

Rename the phlex::experimental::move_constructible_only concept to a name that describes its role as the fallback sendability path for move-constructible types.

Rationale

move_constructible_only can be read as saying that move construction is the only way to create the type. The concept actually selects types that are move-constructible and do not provide a send(...) overload. A name such as sendable_by_move would make this intent clearer.

Affected area

  • phlex/core/fold/send.hpp
  • phlex::experimental::move_constructible_only
  • The constrained sendable_type_impl specialization that uses this concept

Acceptance criteria

  • Replace move_constructible_only with a clearer name that describes sendability through move construction.
  • Update all references in phlex/core/fold/send.hpp.
  • Keep the existing overload-precedence behavior: use send(...) when available; otherwise use the move-constructible type.

Backlinks

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions