Commit graph

217 commits

Author SHA1 Message Date
neargye
0f3dbd70f2 v0.9.2 2019-10-19 16:27:54 +05:00
neargye
64499c3763 improve nameof_enum 2019-10-19 16:23:36 +05:00
neargye
23fc75df57 less compile-time and fix min/max 2019-10-15 16:10:49 +05:00
neargye
cff9399e28 update static_assert 2019-10-10 16:15:42 +05:00
neargye
5d4db414b9 remove final from non virtual class 2019-10-09 22:48:48 +05:00
neargye
0414495682 cstring not final 2019-10-08 12:55:21 +05:00
neargye
dde974339d fix nameof_enum cv-ref bug 2019-10-06 12:12:46 +05:00
neargye
6829441ca8 add header for std::reverse_iterator 2019-10-05 18:39:11 +05:00
neargye
d7f6787cd1 add NAMEOF_ENUM_NO_CHECK_SUPPORT and NAMEOF_TYPE_NO_CHECK_SUPPORT 2019-10-04 13:57:06 +05:00
neargye
a6b2aac0b5 fix doc and naming 2019-10-03 19:23:53 +05:00
neargye
1baf418d21 fix build 2019-10-03 18:39:54 +05:00
neargye
96ac608d13 wip 2019-10-03 18:25:40 +05:00
neargye
aa45d44f05 add NAMEOF_ENUM_SUPPORTED and NAMEOF_TYPE_SUPPORTED 2019-10-02 17:48:39 +05:00
neargye
67c27efd61 add nodiscard 2019-10-02 15:09:57 +05:00
neargye
47fa9b5f7c fix enums 2019-10-01 18:55:37 +05:00
neargye
9145963e35 less bin size nameof_enum 2019-10-01 18:43:24 +05:00
neargye
6a976ef472 less bin size nameof & nameof_type 2019-10-01 18:43:02 +05:00
neargye
48ffc2f855 using nodiscard only where it's need 2019-09-13 19:45:01 +05:00
neargye
9de7bbaeb8 more sfinae-friendly 2019-09-12 18:05:12 +05:00
neargye
4172418e59 fix type cast nameof_enum 2019-08-29 18:48:54 +05:00
neargye
7f1ed8b98f add macro to no check support 2019-08-28 22:00:45 +05:00
neargye
a267cc70d7 fix is_nameof_*_supported 2019-08-27 20:31:09 +05:00
neargye
23c959c3e2 less bin size, thanks @rollbear 2019-08-27 16:24:33 +05:00
neargye
f6a6c5de10 improve static_assert and come clean-up 2019-08-26 21:26:28 +05:00
neargye
44833f2272 improving nameof_type & nameof_enum 2019-08-25 18:04:50 +05:00
neargye
50ded04922 clean-up nameof_type_impl() 2019-08-24 20:30:49 +05:00
terik23
ecddb3c302 remove extra parentheses 2019-07-31 00:10:01 +05:00
neargye
292ee8ace8 v0.9.0 2019-07-25 19:53:56 +05:00
neargye
b35e1e6133 improving 2019-07-25 18:58:42 +05:00
neargye
583f889aa2 refactoring 2019-07-24 18:49:14 +05:00
terik23
481f928f4d clean-up impl 2019-07-22 00:13:32 +05:00
terik23
6830861382 nameof_type return name same as typeid 2019-07-22 00:13:06 +05:00
terik23
07e7d8dff6 add more assert 2019-07-14 21:06:12 +05:00
terik23
241c6d9906 fix assert and cast 2019-07-14 20:57:17 +05:00
terik23
c1a9e49d64 fixs 2019-07-13 19:32:33 +05:00
terik23
9d1bce7b9d fix formating 2019-07-13 19:13:02 +05:00
neargye
193f3c328e update include guard 2019-05-28 17:54:26 +05:00
neargye
6022b1bce5 v0.8.3 2019-05-06 20:11:56 +05:00
neargye
8fbf1fb1f8 fix NAMEOF_CONST_ENUM 2019-05-03 15:57:44 +05:00
neargye
fa0f7f3c79 add NAMEOF_CONST_ENUM 2019-05-03 15:22:18 +05:00
neargye
dc8c38c76f change include guard 2019-05-01 19:44:25 +05:00
neargye
5cc0d1c183 c++17 auto 2019-05-01 19:33:33 +05:00
terik23
89bd22ce88 v0.8.2 2019-04-28 15:28:20 +05:00
terik23
9c36cf46c9 fix naming and comment 2019-04-28 15:18:38 +05:00
terik23
1a38e075d0 improve nameof_enum 2019-04-28 14:30:09 +05:00
terik23
07696f969a clean-up 2019-04-28 14:15:42 +05:00
terik23
9ceca0c53d fix comment 2019-04-28 14:15:18 +05:00
terik23
300034b6a2 fix enable_if 2019-04-26 10:59:21 +05:00
terik23
c112af7f56 fix comment 2019-04-26 00:33:40 +05:00
terik23
fbd4518d13 clean-up 2019-04-25 21:57:07 +05:00
terik23
ec5a59e825 add check max/min 2019-04-25 21:57:00 +05:00
terik23
cf40c88895 fix nameof_enum 2019-04-23 18:10:21 +05:00
terik23
a6b8f792ef v0.8.1 2019-04-18 22:00:59 +05:00
terik23
e48ca6469d clean-up 2019-04-14 19:35:07 +05:00
terik23
b68625ca7a add check type 2019-04-14 18:22:06 +05:00
terik23
c0239a52e5 clean-up 2019-04-14 17:33:16 +05:00
terik23
592b283a32 improve constexpr 2019-04-11 23:32:36 +05:00
neargye
8585365ef7 clean-up 2019-04-11 19:55:29 +05:00
neargye
04f779655a fix comment 2019-04-10 19:44:41 +05:00
neargye
a631f84520 v0.8.0 2019-04-10 18:31:34 +05:00
neargye
4379f0f902 update nameof_enum 2019-04-10 17:40:21 +05:00
neargye
d69bd50d9c fix nameof_type 2019-04-10 17:13:51 +05:00
terik23
8df003ea53 fixing 2019-04-09 02:52:00 +05:00
terik23
5e74dca32e clean-up 2019-04-08 23:48:18 +05:00
terik23
e2822c66b1 fix comments 2019-04-08 23:03:54 +05:00
terik23
b53ce6f0ac update comments 2019-04-08 23:02:45 +05:00
terik23
498cddf99f update nameof_enum 2019-04-08 22:55:35 +05:00
neargye
0d1826b9c4 wip 2019-04-05 17:19:18 +05:00
neargye
e25503192f improve nameof 2019-04-02 20:42:47 +05:00
neargye
249202df54 add doc NAMEOF_ENUM_RANGE 2019-04-02 18:47:46 +05:00
terik23
46ffb720ad fix nameof_enum_impl 2019-04-02 00:29:11 +05:00
terik23
4b301ad8cb wip v0.8.0 2019-04-02 00:07:28 +05:00
terik23
39b838a699 v0.7.5 2019-03-28 00:33:00 +05:00
terik23
0767865559 If does not have name return empty string 2019-03-27 18:53:35 +05:00
terik23
5e50eccae1 v0.7.4 2019-03-27 00:30:27 +05:00
terik23
e4d3ea10a5 static_assert for double-check 2019-03-27 00:27:32 +05:00
terik23
30618cd156 auto template 2019-03-26 22:00:25 +05:00
terik23
766fb9647e clean-up 2019-03-26 16:41:37 +05:00
neargye
9ac987b021 v0.7.3 2019-03-26 14:14:52 +05:00
neargye
fca77f2d15 naming 2019-03-26 13:23:54 +05:00
neargye
223b9e606c nameof_enum supported on the GCC >= 9 2019-03-26 12:45:00 +05:00
terik23
601b95ee41 fix build and install gcc-9 2019-03-26 12:03:53 +05:00
terik23
1e09aef7fd test gcc9 2019-03-26 11:58:07 +05:00
terik23
94337cdfc8 v0.7.2 2019-03-25 15:03:27 +05:00
terik23
46475eca5d improve nameof_enum_impl & nameof_type_impl 2019-03-25 01:12:29 +05:00
terik23
4bb381d3e9 clean-up nameof_type_impl 2019-03-25 00:33:22 +05:00
terik23
d3529f8cd0 wip improve 2019-03-24 20:15:14 +05:00
terik23
e13edf41bb fix build 2019-03-24 16:32:21 +05:00
terik23
6195f364cb add more info for unsupported_compiler 2019-03-24 16:30:11 +05:00
terik23
dc8d46685e wip improve nameof_enum 2019-03-24 16:23:41 +05:00
terik23
cb12e1965c v0.7.1 2019-03-24 00:40:16 +05:00
terik23
976269d821 clean-up 2019-03-23 18:51:06 +05:00
terik23
e294349df9 more constexpr, for cache 2019-03-23 17:17:50 +05:00
terik23
ec4429b35d fix nameof_enum for pure enum type 2019-03-23 17:16:41 +05:00
neargye
453fd09bd8 v0.7.0 2019-03-22 15:30:40 +05:00
neargye
3dce8aaee7 fix nameof_type 2019-03-22 15:30:32 +05:00
neargye
68ad4fba4e v0.6.2 2019-03-22 15:09:13 +05:00
neargye
16f010ef08 more c++17, more refactoring 2019-03-22 13:56:01 +05:00
terik23
1aa2d1ad66 fix typo 2019-03-22 09:46:37 +05:00
neargye
3844e182d6 v0.6.1 2019-03-21 14:16:18 +05:00