Skip to content

Fix std::array support by improving get_back_inserter template resolution, closes #323 - #324

Merged
Dobiasd merged 2 commits into
masterfrom
improve-std-array-support
Oct 5, 2025
Merged

Fix std::array support by improving get_back_inserter template resolution, closes #323#324
Dobiasd merged 2 commits into
masterfrom
improve-std-array-support

Conversation

@Dobiasd

@Dobiasd Dobiasd commented Oct 5, 2025

Copy link
Copy Markdown
Owner
  • Remove unused Container template parameter from get_back_inserterstd::array specialization
  • Remove explicit template parameters from get_back_inserter calls to allow proper template argument deduction
  • Fix const qualifier issue in swap_keys_and_values by using OutVal instead of InKey

These changes ensure std::array containers work correctly with all FunctionalPlus functions
that use get_back_inserter, including transform, generate, filter, and other container operations.

Fixes compilation errors with std::array in:

  • rotate_left function
  • transform operations
  • swap_keys_and_values function

@Dobiasd Dobiasd changed the title Fix back inserter for std::array, closes #323 Fix std::array support by improving get_back_inserter template resolution, closes #323 Oct 5, 2025
@Dobiasd
Dobiasd merged commit 0584adb into master Oct 5, 2025
47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant