Skip to content

Rename the remaining snake_case concepts to CamelCase #512

Done

Description

@sgerbino

From the review result: Capy's concepts are mostly CamelCase, but a couple are snake_case, for example decomposes_to.

Source: Boost review result (conditional acceptance), Boost mailing list, September 2026.

Two public concepts in boost::capy remain snake_case after #395:

  • decomposes_to → DecomposesTo
  • awaitable_decomposes_to → AwaitableDecomposesTo

Every other public concept is CamelCase (ReadStream, ConstBufferSequence, ExecutionContext, ContextAwaitable, ...). Header and test file names stay snake_case, as for the other concepts.

This is a breaking change. Downstream, cppalliance/http uses capy::awaitable_decomposes_to in its ReadSource, WriteSink and BufferSource concepts and needs a matching update.

Activity

  1. moved this from Backlog to In review in Beast2on Dec 4, 2026
  2. moved this from In review to Done in Beast2on Dec 4, 2026
  3. added a commit that references this issue on Dec 5, 2026
    1953e17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions