Remove redundant on-the-same-line-repetition of type names (DRY): RepeatedTypeName foo = static_cast<RepeatedTypeName>(bar) #10343

pull practicalswift wants to merge 1 commits into bitcoin:master from practicalswift:auto changing 5 files +6 −6
  1. practicalswift commented at 3:58 PM on May 5, 2017: contributor

    Use …

    auto foo = static_cast<NonRepeatedTypeName>(bar);
    

    … instead of …

    RepeatedTypeName foo = static_cast<RepeatedTypeName>(bar);
    

    See the C++ Core Guidelines for a general discussion on the use of auto to avoid redundant repetition of type names.

  2. Remove redundant on-the-same-line-repetition of type names (DRY): RepeatedTypeName foo = static_cast<RepeatedTypeName>(bar)
    See the [C++ Core Guidelines](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#es11-use-auto-to-avoid-redundant-repetition-of-type-names) for a general discussion on the use of `auto` to avoid redundant repetition of type names.
    e9473c871c
  3. practicalswift force-pushed on May 5, 2017
  4. fanquake added the label Refactoring on May 5, 2017
  5. practicalswift commented at 10:08 PM on June 8, 2017: contributor

    Closing due to clear lack of ACK consensus :-)

  6. practicalswift closed this on Jun 8, 2017

  7. practicalswift deleted the branch on Apr 10, 2021
  8. DrahtBot locked this on Aug 18, 2022
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-16 15:15 UTC

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