mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-09 23:34:23 +00:00
Add ability to include external configuration header (#86)
* Add ability to include external configuration header * Add documentation regarding MAGIC_ENUM_CONFIG_FILE
This commit is contained in:
parent
8c130658e1
commit
081a77b96a
2 changed files with 20 additions and 0 deletions
|
|
@ -45,6 +45,10 @@
|
|||
#include <type_traits>
|
||||
#include <utility>
|
||||
|
||||
#if defined(MAGIC_ENUM_CONFIG_FILE)
|
||||
#include MAGIC_ENUM_CONFIG_FILE
|
||||
#endif
|
||||
|
||||
#if !defined(MAGIC_ENUM_USING_ALIAS_OPTIONAL)
|
||||
#include <optional>
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue