refactor: memcpy -> std::ranges::copy #307

pull maflcko wants to merge 3 commits into bitcoin-core:master from maflcko:2607-ranges changing 4 files +12 −8
  1. maflcko commented at 9:11 AM on July 14, 2026: contributor

    Some follow-ups to #305#pullrequestreview-4689778284

  2. refactor: Directly use value in CustomBuildField
    This avoids a std::span ctor.
    
    Recommended in https://github.com/bitcoin-core/libmultiprocess/pull/305#pullrequestreview-4689778284
    696c21ce5c
  3. test: Fix typo in listen_tests.cpp
    Recommended by the LLM in https://github.com/bitcoin/bitcoin/pull/35684#issuecomment-4916571942
    26341f368c
  4. refactor: memcpy -> std::ranges::copy
    I think there is no issue of passing a nullptr here, but it makes sense to use the std-lib copy for consistency.
    
    Recommended in https://github.com/bitcoin-core/libmultiprocess/pull/305#pullrequestreview-4689778284
    9ebeb9c85c
  5. DrahtBot commented at 9:11 AM on July 14, 2026: none

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline and AI policy for information on the review process. A summary of reviews will appear here.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  6. maflcko commented at 10:01 AM on July 14, 2026: contributor

    ci failure looks unrelated


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/libmultiprocess. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-07-14 21:30 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me