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
Summary
Rename the
phlex::experimental::move_constructible_onlyconcept to a name that describes its role as the fallback sendability path for move-constructible types.Rationale
move_constructible_onlycan 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 asend(...)overload. A name such assendable_by_movewould make this intent clearer.Affected area
phlex/core/fold/send.hppphlex::experimental::move_constructible_onlysendable_type_implspecialization that uses this conceptAcceptance criteria
move_constructible_onlywith a clearer name that describes sendability through move construction.phlex/core/fold/send.hpp.send(...)when available; otherwise use the move-constructible type.Backlinks