diff --git a/doc/limitations.md b/doc/limitations.md index 15db543..4d3fdc5 100644 --- a/doc/limitations.md +++ b/doc/limitations.md @@ -8,10 +8,10 @@ * Enum value must be in range `[MAGIC_ENUM_RANGE_MIN, MAGIC_ENUM_RANGE_MAX]`. By default `MAGIC_ENUM_RANGE_MIN = -128`, `MAGIC_ENUM_RANGE_MAX = 128`. - * `MAGIC_ENUM_RANGE_MAX` must be greater than `0` and must be less than `INT16_MAX`. - * `MAGIC_ENUM_RANGE_MIN` must be less or equals than `0` and must be greater than `INT16_MIN`. + * `MAGIC_ENUM_RANGE_MAX` must be greater than `0` and must be less than `INT16_MAX`. + * If need another range for all enum types by default, redefine the macro `MAGIC_ENUM_RANGE_MIN` and `MAGIC_ENUM_RANGE_MAX`. ```cpp @@ -20,7 +20,7 @@ #include ``` - If need another range for specific enum type, add specialization `enum_range` for necessary enum type. + * If need another range for specific enum type, add specialization `enum_range` for necessary enum type. ```cpp #include @@ -46,7 +46,7 @@ Change the limit for the number of constexpr evaluated: * MSVC `/constexpr:depthN`, `/constexpr:stepsN` * Clang `-fconstexpr-depth=N`, `-fconstexpr-steps=N` - * GCC `-fconstexpr-depth=n`, `-fconstexpr-loop-limit=n`, `-fconstexpr-ops-limit=n` + * GCC `-fconstexpr-depth=N`, `-fconstexpr-loop-limit=N`, `-fconstexpr-ops-limit=N` * `magic_enum` obtains the first defined value enums, and won't work if value are aliased.