Skip to content

feat(utility): add bind_front for enum_switch partial application (#200) - #471

Open
ezralicodes wants to merge 4 commits into
Neargye:masterfrom
ezralicodes:feat/bind-front-200
Open

feat(utility): add bind_front for enum_switch partial application (#200)#471
ezralicodes wants to merge 4 commits into
Neargye:masterfrom
ezralicodes:feat/bind-front-200

Conversation

@ezralicodes

Copy link
Copy Markdown

Summary

Adds magic_enum::bind_front to magic_enum_utility.hpp as a C++17-friendly partial-application helper. Maintainer suggested this for nested enum_switch use cases on MSVC (#200).

Also documents the GCC 16 C++26 enum_flags_cast workaround (#467).

Test plan

  • New doctest bind_front case in test/test.cpp
  • CI matrix (existing tests)

…argye#200)

Signed-off-by: ezralicodes <ezralicodes@users.noreply.github.com>
…argye#200)

Signed-off-by: ezralicodes <ezralicodes@users.noreply.github.com>
…argye#200)

Signed-off-by: ezralicodes <ezralicodes@users.noreply.github.com>
…argye#200)

Signed-off-by: ezralicodes <ezralicodes@users.noreply.github.com>
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