From 249202df543f56830e0e85c8d02a35a2c4afa66d Mon Sep 17 00:00:00 2001 From: neargye Date: Tue, 2 Apr 2019 18:47:46 +0500 Subject: [PATCH] add doc NAMEOF_ENUM_RANGE --- include/nameof.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/nameof.hpp b/include/nameof.hpp index 03ec88f..dc59215 100644 --- a/include/nameof.hpp +++ b/include/nameof.hpp @@ -36,6 +36,7 @@ #include #include +// Enum variable must be in range (-NAMEOF_ENUM_RANGE, NAMEOF_ENUM_RANGE). If you need a larger range, redefine the macro NAMEOF_ENUM_RANGE. #if !defined(NAMEOF_ENUM_RANGE) # define NAMEOF_ENUM_RANGE 128 #endif