Commit graph

240 commits

Author SHA1 Message Date
neargye
66a61bf7f2 update copyright 2020-02-25 15:53:42 +05:00
neargye
6e97229efd more friendly static checks 2020-02-14 15:28:16 +05:00
Neargye
9885d98bf3 clean-up 2020-01-31 15:16:38 +05:00
neargye
04578f3316 fix code style 2020-01-15 15:42:14 +05:00
neargye
a01e3d26b9 V0.9.3 2019-12-30 19:34:00 +05:00
Neargye
d33424c377 improve cstring ctr 2019-12-13 20:31:55 +05:00
Neargye
f7554a166f fix clang-5 build 2019-12-12 20:12:42 +05:00
neargye
fa938cff96 fix nameof_type 2019-12-02 14:17:51 +05:00
neargye
7e3b975054 fix nameof_enum 2019-11-18 13:12:33 +05:00
neargye
0e425a33b7 fix macro for check support 2019-11-18 13:12:31 +05:00
neargye
33023e3275 msvc binsize improve
on clang all already ok
2019-11-14 20:42:38 +05:00
neargye
534ece4154 remove static_string 2019-11-14 20:23:57 +05:00
neargye
a23f4fac65 fix nameof_enum<V>() 2019-11-14 20:14:02 +05:00
neargye
05eb30b844 improve nameof_enum<V>() 2019-11-14 17:16:49 +05:00
neargye
1e0c019453 some speed-up static_string 2019-11-14 17:00:20 +05:00
neargye
5e198e9983 update assert 2019-10-31 14:10:59 +05:00
neargye
dec2c332bd change to_string() to str() 2019-10-25 15:41:41 +05:00
neargye
9d66520257 add to_string(), explicit operator string 2019-10-24 20:26:53 +05:00
neargye
27c2aeb6bb clean-up 2019-10-24 19:49:00 +05:00
neargye
d06a1c717a add c_str(), to_string_view(), explicit operator const char* 2019-10-24 16:18:22 +05:00
neargye
e831936fbe add more assert 2019-10-24 16:17:58 +05:00
neargye
d293613b62 fix nameof::cstring::chars is uninitialized 2019-10-24 16:10:39 +05:00
neargye
550891639a fix typo in version 2019-10-24 15:31:43 +05:00
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