Commit Graph

339 Commits

Author SHA1 Message Date
Paul
4ea92c5efb No directive inside macro expansion 2016-10-31 20:31:09 -05:00
Paul
3b57a3ebdb Improve repeat_while 2016-10-31 20:00:08 -05:00
Paul
ea3c942e7a Improve repeat tests 2016-10-31 19:44:27 -05:00
Paul
8e93ab282c Add more tests 2016-10-31 19:14:13 -05:00
Paul
8e56bd2142 Try a nop failure 2016-10-29 20:34:45 -05:00
Paul
4f4b1d9e0a Add fallback for msvc 2016-10-29 20:22:54 -05:00
Paul
7d9cd7c361 No sfinae for deducing unpack on msvc 2016-10-27 16:03:44 -05:00
Paul
5dae82f99b Use fallback on msvc 2016-10-27 01:55:27 -05:00
Paul
0bde48296a Add missing header 2016-10-24 22:30:15 -05:00
Paul
85021f7ed9 Update to transfer result_type when available, and fix problem with partial adaptor default constructor 2016-10-24 19:49:32 -05:00
Paul
64067e5840 Fix typos and make somethings clearer 2016-10-24 12:57:42 -05:00
Paul
c8367446dd Add failure tests 2016-09-13 01:04:45 -05:00
Paul
58226623a2 Bump version 2016-09-10 15:47:02 -05:00
Paul
00a8e620e9 Merge branch 'develop' into value-default 2016-09-10 15:18:03 -05:00
Paul
6535865d8a Fix name mangling on gcc 4.6 2016-09-10 14:58:17 -05:00
Paul
ed73ec1303 Add example to protect for issue #89 2016-09-10 13:06:34 -05:00
Paul
edcf4a2ee8 Fix problem of temporary return in lazy 2016-09-10 12:43:24 -05:00
Paul
b9dce53b23 Update the way references are returned 2016-09-10 12:31:13 -05:00
Paul
21c8b41b94 Remove tranformer class 2016-09-10 12:06:08 -05:00
Paul
2076a44790 Fix protect problems on gcc 4.6 and 4.7 2016-09-05 14:43:55 -06:00
Paul
4506f1dd66 Merge branch 'develop' into protect 2016-09-05 14:23:55 -06:00
Paul
b196c4f885 Add parens for msvc 2016-09-05 10:34:50 -06:00
Paul
c12002d990 Add parens for msvc 2016-09-05 10:23:28 -06:00
Paul
f99ccea462 Merge branch 'develop' into protect 2016-09-05 10:14:35 -06:00
Paul
5efe6c47b3 Fix problem on msvc 2016-09-03 15:43:31 -07:00
Paul
03bcdf8619 Add proper constuctor to protect 2016-09-01 23:58:21 -05:00
Paul
ac64a7dc98 Add parens 2016-08-11 20:11:19 -05:00
Paul
60cad540e2 Update documentation 2016-08-11 20:03:09 -05:00
Paul
9c5b52191b Add construct categories as well 2016-08-11 19:58:49 -05:00
Paul
3ef7015c0b Rename pack_decay/capture_decay to pack/capture 2016-08-11 19:33:48 -05:00
Paul
4f8303676b Rename pack/capture to pack_basic/capture_basic 2016-08-11 19:28:18 -05:00
Paul
0c1e81d286 Remove intrinsics on MSVC, because they don't work in SFINAE contexts 2016-06-26 06:44:55 -07:00
Paul
70b0d5bba2 Make any non-empty type not default constructible for always 2016-06-25 21:02:14 -05:00
Paul
ddb7f22952 Make always not default constructible with primitive types 2016-06-25 20:55:34 -05:00
Paul
d9917dddb9 Always is default constructible if T is default constructible 2016-06-25 20:43:17 -05:00
Paul
1b91d27205 Always function should not be default constructible 2016-06-25 20:36:14 -05:00
Paul
da9ad911fd Merge branch 'value-init' into develop 2016-06-24 19:42:15 -05:00
Paul
bbdd63bb1b Add support for using reference_wrapper with member pointers 2016-06-24 19:18:09 -05:00
Paul
cae059104c Dont return rvalue ref from member to data pointer 2016-06-24 17:39:19 -05:00
Paul
1955350ceb Properly deduce return type for apply member data 2016-06-24 17:27:46 -05:00
Paul
d606393dd5 Add const qualification to conversion check 2016-06-24 16:57:39 -05:00
Paul
192facb20f Return false when mismatch args 2016-06-24 00:35:10 -05:00
Paul
820f9eafbc Fix conversion from base to derived for sfinae friendly apply 2016-06-24 00:25:50 -05:00
Paul
04140d0659 Fix problem with mismatch number of arguments 2016-06-24 00:11:20 -05:00
Paul
f9cd490506 Use construct to construct templates as well 2016-06-23 19:05:58 -05:00
Paul
6b2348a55e Use in-place new to construct non-literal types 2016-06-23 18:57:33 -05:00
Paul
bc8b5bcba7 Disable tests for unique addressing for msvc and partially for gcc 4.6 2016-06-23 16:31:27 -05:00
Paul
6e767a0996 Simplyify static const vars 2016-06-21 10:54:10 -05:00
Paul
d96ee9d12d Fix incorrect const fold 2016-06-21 07:09:04 -07:00
Paul
a89be9bfd8 Use no unqiue lambda 2016-06-20 22:54:35 -05:00
Paul
471041093b Properly set the macro 2016-06-20 22:38:27 -05:00
Paul
f7f6f029b9 Use weak variables for lambdas 2016-06-20 22:47:22 -04:00
Paul
28fbcc2364 No weak variables on clang because it breaks on classes that internal linkage 2016-06-20 20:58:34 -04:00
Paul
615807479b Remove constexpr on msvc 2016-06-20 17:33:52 -07:00
Paul
21ba6e3b0b Use constexpr on msvc 2016-06-20 20:01:46 -04:00
Paul
24cfab5d63 Add extern on windows 2016-06-20 19:42:48 -04:00
Paul
55f9590f16 Update the defines 2016-06-20 19:42:33 -04:00
Paul
320fb23e3f Add extern 2016-06-20 18:48:10 -04:00
Paul
10de950416 Dont use static for weak variables 2016-06-20 18:44:34 -04:00
Paul
ccc6ea5013 Simplify function declarations 2016-06-20 18:37:26 -04:00
Paul
eb3282ae80 No variable templates for clang 3.4 2016-06-15 13:25:51 -05:00
Paul
e11778eae3 Use static constexpr to declare template variable 2016-06-15 13:13:46 -05:00
Paul
813a0121ef Dont use auto in template variables 2016-06-15 13:04:29 -05:00
Paul
ac34a8d978 Use the correct ebo macro 2016-06-15 12:58:13 -05:00
Paul
fcdb5386c3 Fix errors on gcc 4.6 2016-06-15 12:52:23 -05:00
Paul
34a1b692a6 Tag dispatch on true/false 2016-06-15 12:47:52 -05:00
Paul
c04d219fad Fix mangling overload 2016-06-15 12:40:07 -05:00
Paul
ab01d4cf75 Update travis to exit on error 2016-06-15 12:32:54 -05:00
Paul
7cd874e80c Add missing headers 2016-06-15 12:04:16 -05:00
Paul
6b4063acb2 Use weak variables on targets that support it 2016-06-15 12:03:14 -05:00
Paul
7f87b03c1b Merge branch 'is_callable_check' into develop 2016-06-15 10:57:48 -05:00
Paul
9e47a0bf39 Add missing version file 2016-06-14 15:58:52 -05:00
Paul
96aa3b75c9 Update links 2016-06-14 00:24:08 -05:00
Paul
375f12315b Some more fixes to toc 2016-06-05 23:56:49 -05:00
Paul
26a140a0bb Seperate function_param_limit into seperate header 2016-06-05 22:20:28 -05:00
Paul
4371c3c02f Seperate unpack header 2016-06-05 21:05:07 -05:00
Paul
674e62bc16 Add static_assert when using the incorrect form for is_callable 2016-05-26 21:13:31 -05:00
Paul
d71d6f0dec Use logarithmic algorithm for generating an index of integers for issue #147 2016-04-27 23:36:40 -05:00
Paul
5c3768a3b5 Use template variables for functions that have explicit template parameters for issue #117 2016-04-27 23:11:12 -05:00
Paul
8c1a7ec2d8 No variable templates for msvc 2016-04-27 22:59:52 -05:00
Paul
66d7d7d9bc Add variable template config 2016-04-27 22:59:14 -05:00
Paul
4952d797c4 Rename dependent typing for #160 2016-04-27 22:36:38 -05:00
Paul
88c28bf731 Capture use compressed_pair 2016-04-27 01:14:17 -05:00
Paul
c48b0cb3f1 Fallback on std version when feature is not available 2016-04-27 00:51:36 -05:00
Paul
bae83a164a Merge branch 'sd6' into develop 2016-04-27 00:34:50 -05:00
Paul
2ad4009068 Use value for type trait 2016-04-23 23:44:23 -05:00
Paul
f4b6da69ab Add documentation about point-free style 2016-04-23 23:22:32 -05:00
Paul
80ebf52d74 Decay arguments for unamed placeholder 2016-04-19 07:07:23 -05:00
Paul
81b8b11279 Use sd6 feature macros for detection 2016-04-04 00:28:01 -05:00
Paul
37355c5f1d Issue #155: Remove FIT_HAS_STATIC_LAMBDA configuration 2016-03-26 23:06:01 -06:00
Paul
1a9b1ec61a Merge branch 'conditional' into develop 2016-03-25 20:56:41 -05:00
Paul
4f9fd6b47a Setup conditional to handle the same function multiple times, this fixes issue #123 2016-03-25 20:42:00 -05:00
Paul
5aa5211cfb Issue #152: Add missing config header file 2016-03-25 16:53:52 -05:00
Paul
7c1fe28ad3 Compressed pair use the EBO configuration 2016-03-25 16:41:25 -05:00
Paul
c2c01a2c4d Remove static_constexpr header 2016-03-25 16:37:21 -05:00
Paul
c9b1cdee5f Remove sfinae header 2016-03-25 16:33:07 -05:00
Paul
1b51983c84 Issue #152: Move all configurations to a single config header file 2016-03-25 16:25:01 -05:00
Paul
927904ff5d Add missing string header 2016-03-25 15:03:48 -05:00
Paul
6eacd32438 Rename to logger to avoid conflicts with msvc math header 2016-03-25 14:42:42 -05:00
Paul
8724e850b7 Add static to static variable 2016-03-24 12:06:09 -05:00
Paul
5006ee830b Add static keyword to implicit 2016-03-24 01:10:40 -05:00
Paul
34560e3d8e Extract examples using cmake 2016-03-24 01:00:16 -05:00
Paul
918fd4c1db Make examples copy and pasteable for issue #144 2016-03-23 18:28:13 -05:00
Paul
40f68b74e7 Use limit to limit the number of paramters for lazy or any function 2016-03-23 14:42:49 -05:00
Paul
088f81a98b Make sure indirection doesn't remove constness 2016-03-22 22:59:49 -05:00
Paul
2f1fd0cf6a Remvoe unused macro for issue #113 2016-03-22 19:03:18 -05:00
Paul
9bc294e945 Add a note about capturing by value for lazy adaptor with a note std::ref. This fixes issue #138 and #139 2016-03-22 00:28:05 -05:00
Paul
4245a89b7f Add specialization for boost:is_placeholder for issue #119 2016-03-21 18:26:14 -05:00
Paul
9f4fcb7cf9 Add missing master header 2016-03-21 16:51:23 -05:00
Paul
d7e88e997f Try to disable warning for apply macro for issue #121 2016-03-21 16:13:43 -05:00
Paul
f1ff31d90a Push/pop warnings for msvc for issue #120 2016-03-21 16:10:40 -05:00
Paul
47e362ea97 Document always(void) for issue #115 2016-03-21 16:04:00 -05:00
Paul
4674466fdc Undocument always_ref for issue #114 2016-03-21 15:59:09 -05:00
Paul
5af24d9024 Better describe the lift operator for issue #106 2016-03-21 15:56:21 -05:00
Paul
91e1ca790f Add by(p) semantics for issue #104 2016-03-21 15:51:55 -05:00
Paul
57e760f231 Fix problem with always_void 2016-03-21 14:06:52 -05:00
Paul
4119d2e6cf Fix ADL problems with issue #112 2016-03-21 05:48:11 -05:00
Paul
4d06b35fca Remove unused header 2016-03-20 08:25:32 -05:00
Paul
2b0d97d7e6 Add workaround for gcc 4.7 to handle nested compressed_pair 2016-03-19 12:19:26 -05:00
Paul
7ee6b63cc1 Reorganize the ordering for decorate_adaptor 2016-03-19 11:28:01 -05:00
Paul
5cc7d615dc Better handle inheritance in decorate adaptor 2016-03-19 10:53:53 -05:00
Paul
3ee0235316 Handle final types in can_be_called 2016-03-19 09:46:30 -05:00
Paul
9526c2afa0 Add missing is_final intrinsic for msvc 2016-03-19 08:55:41 -05:00
Paul
72ae4cf85c Add missing tests and disable checking for final on gcc 4.6 2016-03-19 00:47:02 -05:00
Paul
0d02a37cbf Only inherit non-polymorphic and non-final classes, this fixes issue #129 2016-03-19 00:35:54 -05:00
Paul
9eb9534d6d constexpr void only on clang with relaxed constexpr 2016-03-16 14:10:27 -05:00
Paul
04fefc071c Make arg sfinae-friendly, this fixes issue #148 2016-03-16 13:30:59 -05:00
Paul
fad52fc912 Fixes for issue #118 2016-03-16 12:58:49 -05:00
Paul
f99f25896c Remove extraneous define of FIT_NO_CONSTEXPR_VOID for issue #113 2016-03-16 12:29:12 -05:00
Paul
e87bbc3c78 Remove FIT_UNARY_PERFECT_ID for issue #113 2016-03-16 12:26:56 -05:00
Paul
e3bf390b54 Add links to fold 2016-03-01 10:10:26 -06:00
Paul
7b6dcd0c64 Add additional semantics to apply 2016-03-01 10:07:49 -06:00
Paul
52b54cd8e9 Update documentation about const callability: 2016-03-01 09:30:56 -06:00
Paul
98cec4f27d Add faq, and reoragnize the mkdoc.yml file 2016-03-01 09:01:22 -06:00
Paul
f3d4c5ebeb Annotate closing brace in example 2016-02-28 01:47:45 -06:00
Paul
9e7146d96d Merge branches 'flow-tests' and 'static-lift' 2016-02-27 23:53:04 -06:00
Paul
fc41dc82ea Add more tests to flow adaptor 2016-02-27 23:33:53 -06:00
Paul
9349b1b5bd Make fit_lift use static_lambda 2016-02-27 23:27:00 -06:00
Paul
8e0e9559f4 Add a note about constexpr support on MSVC and gcc4.6 2016-02-27 23:04:16 -06:00
Paul
c19995eec4 Add more tests to help compose on msvc 2016-02-27 13:35:12 -08:00
Paul
ba59709ea1 Fixes for tuple_get on gcc 4.6 2016-02-27 14:01:57 -06:00
Paul
637af93855 Fix problems with infix on gcc 2016-02-27 13:07:37 -06:00
Paul
ed597cba6d Add more tests for infix operator 2016-02-26 18:13:30 -06:00
Paul
6935a351b2 Add an initial print example, and fixes for unpacking a tuple 2016-02-26 14:13:59 -06:00
Paul
1e6568aedf Merge branch 'examples' of github.com:pfultz2/Fit into examples 2016-02-25 15:20:50 -06:00
Paul
a80bb237bb More friendly example for msvc 2016-02-25 15:20:37 -06:00
Paul
73eace7c14 Add tests for lift, and a workaround for MSVC 2016-02-25 12:37:24 -08:00
Paul
04fa68ecf6 Fix fix example on msvc 2016-02-25 07:44:24 -08:00
Paul
526e33528c Add returns example to tests 2016-02-24 10:07:50 -06:00
Paul
7e46850e03 Use explicit namepspace for unpack 2016-02-24 07:55:59 -06:00