Skip to content

Conversation

@mgovers
Copy link
Member

@mgovers mgovers commented Nov 5, 2025

2 small issues are fixed:

  • use after forwarding
  • some named initializers

Signed-off-by: Martijn Govers <[email protected]>
@mgovers mgovers self-assigned this Nov 5, 2025
@mgovers mgovers added the improvement Improvement on internal implementation label Nov 5, 2025
@mgovers mgovers changed the title Fix clang-tidy-19 issues Clang-tidy: fix clang-tidy-19 issues Nov 5, 2025
Comment on lines +18 to +19
(functor.template operator()<std::tuple_element_t<Indices, Tuple>>(), ...);
capturing::into_the_void(std::forward<Functor>(functor));
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i did try to see whether i could make this of the form

        functor.template operator()<std::tuple_element_t<A, Tuple>>();
        functor.template operator()<std::tuple_element_t<B, Tuple>>();
        ...
        std::forward<Functor>.template operator()<std::tuple_element_t<Last, Tuple>>();

but that turned out to be too difficult (tried multiple things but there's no nice way to do things.... only ugly ones)

@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 5, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improvement on internal implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants