Commit graph

243 commits

Author SHA1 Message Date
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
neargye
7fb936bc3e add noexcept, move impl to detail 2019-03-21 14:16:06 +05:00
neargye
421dd51583 v0.6.0 2019-03-21 12:27:05 +05:00
neargye
c015859ddb clean-up 2019-03-21 11:56:59 +05:00
neargye
80a3e6d3e3 wip v0.6.0 2019-03-20 21:41:51 +05:00
Neargye
5013f0e351 clean-up 2018-09-04 19:25:28 +05:00
Neargye
ff6553a754 update NameofEnum 2018-09-04 19:14:29 +05:00
Neargye
c0e05bb407 fix macros 2018-09-03 19:42:22 +05:00
Neargye
467335d647 clean-up 2018-09-03 17:45:51 +05:00
Neargye
e3c0e2a922 fix nameof enum 2018-09-03 17:42:30 +05:00
Neargye
05255fd304 fix constexpr size on gcc 2018-09-03 16:46:10 +05:00
Neargye
52bce4451e fix build 2018-09-02 00:19:33 +05:00
Neargye
790fb28775 improve nameof enum 2018-09-02 00:14:14 +05:00
Neargye
24837402cc clean-up 2018-09-02 00:14:11 +05:00
Neargye
f45854ef20 improve nameof enum 2018-09-01 23:42:25 +05:00
Neargye
e32c19e70f add nameof enum max search depth param 2018-09-01 22:33:26 +05:00
Neargye
3634092bf2 fix test 2018-09-01 22:19:33 +05:00
Neargye
bfacde30f2 fix nameof enum 2018-09-01 22:08:09 +05:00
Neargye
2a118da028 fix build 2018-09-01 21:39:51 +05:00
Neargye
ddc79d8d3e add nameof enum 2018-09-01 18:28:15 +05:00
Neargye
edc3ba588d clean-up 2018-09-01 16:05:50 +05:00
Neargye
39f2036915 fix clang build 2018-09-01 15:26:51 +05:00
Neargye
43b3a224d3 clean-up 2018-09-01 15:26:49 +05:00
Neargye
d81b86e469 fix warnings 2018-09-01 15:26:43 +05:00
Neargye
d5125e5e31 fix c++17 2018-08-31 19:29:33 +05:00
Neargye
b5e635a16e add cstring::at 2018-08-31 18:42:59 +05:00
Neargye
532860bc52 clean-up 2018-08-29 19:43:55 +05:00
Neargye
bf1a7b5654 fix constexpr 2018-08-29 19:16:45 +05:00
Neargye
8b07a431aa clean-up 2018-08-29 16:57:35 +05:00
Neargye
828b29e8e6 wip 2018-08-29 01:28:06 +05:00
Neargye
3ab3c69be8 clean-up 2018-08-28 22:55:59 +05:00
Neargye
9e2272f109 clean-up cstring 2018-08-28 21:45:26 +05:00
Neargye
5cddcb0099 clean-up 2018-08-28 20:51:13 +05:00
Neargye
e2b0991a04 wip 2018-08-28 19:00:42 +05:00
Neargye
46a5376eb3 wip 2018-08-27 18:40:23 +05:00
Neargye
5e0024145c wip 2018-08-27 05:09:44 +05:00
Neargye
cb8c808506 wip 2018-08-27 01:30:16 +05:00
Neargye
d297993f52 fix constexpr, clean-up 2018-08-08 09:54:52 +05:00
Neargye
292ca9f563 clean-up 2018-08-07 23:08:57 +05:00
Neargye
821418dd1c TODO: constexpr NameofType g++. 2018-08-07 23:08:46 +05:00
Neargye
acf3f7faad fix nameofType 2018-08-07 21:14:24 +05:00
Neargye
f4675ed641 improve cstring 2018-08-07 21:14:18 +05:00
Neargye
8c4d52963a TODO: constexpr nameoftype 2018-08-06 20:40:44 +05:00
Neargye
654c74d5db clean-up 2018-08-06 20:10:18 +05:00
Neargye
be4a49586c improve constexpr 2018-08-06 19:38:10 +05:00
Neargye
e59687da2a fix test
fix constexpr, rvalue
2018-08-06 17:42:46 +05:00
Neargye
ea58b9d963 clean-up 2018-08-06 17:31:39 +05:00
Neargye
96995e87ce clean-up 2018-08-06 15:39:42 +05:00
Neargye
7dbb2dc63b WIP 2018-08-03 17:19:51 +05:00
Neargye
fc2bf032d9 fix conditional_t 2018-08-02 21:01:25 +05:00
Neargye
766c9ef8a3 test new version 2018-08-02 20:18:59 +05:00
Neargye
fb1299ab02 WIP new version nameof 2018-08-02 19:51:44 +05:00
Neargye
713a504d5f clean-up 2018-07-14 04:51:17 +05:00
Neargye
24f7721f2c add NAMEOF_VARIABLE 2018-07-13 20:18:52 +05:00
Neargye
b5eeb684b7 v0.3.0 2018-05-30 14:42:39 +05:00
Neargye
3f4154c579 v0.2.5 2018-05-20 00:15:27 +05:00
Neargye
4f48107812 clean-up 2018-05-13 23:03:32 +05:00
Neargye
a061e4eedc update comment 2018-05-12 01:33:42 +05:00
Neargye
f400419345 remove unused parameter 2018-05-12 01:33:27 +05:00
Neargye
a6463905e9 v0.2.4 2018-05-06 18:31:53 +05:00
Neargye
908126e420 using ::std 2018-04-30 04:25:11 +05:00
Neargye
d7dd863bba clean-up 2018-04-28 18:04:30 +05:00
Neargye
4d918decea v0.2.3 2018-04-19 01:31:32 +05:00
Neargye
60779d1366 add macros support 2018-04-17 16:15:17 +05:00
Neargye
110dd44f58 v0.2.2 2018-04-11 02:11:21 +05:00
Neargye
bb8cf28a6d fix build 2018-04-11 00:07:25 +05:00
Neargye
c44a37b952 ctti workaround 2018-04-10 23:09:23 +05:00
Neargye
32c4cf483f v0.2.1 2018-04-05 17:58:52 +05:00