Commit Graph

337 Commits

Author SHA1 Message Date
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
8d9b0e8830 Fix warning on gcc 4.6 2016-06-25 21:09:38 -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
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
a2453edb20 Add more tests for apply 2016-06-24 13:13:56 -05:00
Paul
c988c69de5 Add tests for protect 2016-06-24 12:52:54 -05:00
Paul
416b596c0c Add more tests for lazy adaptor 2016-06-24 12:45:56 -05:00
Paul
e5a0ff6223 Add more tests for is_callable 2016-06-23 19:50:04 -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
a38e35322b Add test for value initialization 2016-06-23 17:34:37 -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
ba0fe2cf3b Update construct tests 2016-06-15 14:27:49 -05:00
Paul
88c28bf731 Capture use compressed_pair 2016-04-27 01:14:17 -05:00
Paul
24e4e0affb Remove has generic lambda from test header 2016-04-27 01:04:48 -05:00
Paul
80ebf52d74 Decay arguments for unamed placeholder 2016-04-19 07:07:23 -05:00
Paul
37355c5f1d Issue #155: Remove FIT_HAS_STATIC_LAMBDA configuration 2016-03-26 23:06:01 -06: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
e9b36f259b Add decorate test 2016-03-25 15:58:28 -05:00
Paul
a2d4aeddbf Add tests for always_ref 2016-03-23 14:51:57 -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
439148f325 Reanble the match test, and other tests as well 2016-03-23 14:31:32 -05:00
Paul
088f81a98b Make sure indirection doesn't remove constness 2016-03-22 22:59:49 -05:00
Paul
1d61047f3d Fix warnings with clang 2016-03-19 00:55:43 -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
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
c0ff55b2fd Add ordering test for apply_eval 2016-03-16 12:35:19 -05:00
Paul
4d2941efb5 Fixes for bjam tests 2016-02-29 09:49:27 -06:00
Paul
5dc97757db Add inital jamfile 2016-02-28 21:48:51 -06:00
Paul
029ea2f12a Move tests to better support globbing 2016-02-28 21:26:15 -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
7df1375f21 More tests for compose 2016-02-27 15:51:42 -06:00
Paul
c19995eec4 Add more tests to help compose on msvc 2016-02-27 13:35:12 -08: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
73eace7c14 Add tests for lift, and a workaround for MSVC 2016-02-25 12:37:24 -08:00
Paul
89c421d37c Add another test 2016-02-25 13:36:56 -06:00
Paul
aba2a62f54 Fix shadow warning and missing string header for examples 2016-02-25 10:33:40 -06:00
Paul
04fa68ecf6 Fix fix example on msvc 2016-02-25 07:44:24 -08:00
Paul
31979f800c Disable returns test for gcc 2016-02-25 08:46:17 -06:00
Paul
9c91e5cabc Add file 2016-02-24 10:08:12 -06:00
Paul
4252b288a4 Check multiple arguments 2016-02-21 23:34:52 -06:00
Paul
7121b4d4e8 Remove extra template paramters to make the output of the error message cleaner 2016-02-21 18:50:49 -06:00
Paul
b396f46a09 Add more tests for reveal and add a mechanism to specifiy failures from a template alias 2016-02-21 17:12:37 -06:00
Paul
70362b20ec Fix repeat_while tests for integrals 2016-02-21 09:49:23 -06:00
Paul
d638652ada Initial work for integral repeat_while 2016-02-21 08:42:53 -06:00
Paul
f87ed92113 Adding result on fix combinator injects the result into the function 2016-02-20 23:06:14 -06:00
Paul
db6f248b2a Add support for constexpr fix combinator 2016-02-20 21:14:12 -06:00
Paul
e66d9a6578 Enable static test 2016-02-20 18:05:14 -06:00
Paul
1aafe95a3b Add support using regular integers in repeat 2016-02-20 18:04:42 -06:00
Paul
2148824693 Take of unused variables in alias test 2016-02-18 17:30:16 -06:00
Paul
3c95b18288 Add missing alias test 2016-02-18 14:40:12 -06:00
Paul
15f1beb21d Annotate closing brace in test 2016-01-19 00:18:35 -06:00
Paul
d2b0aeb09e Rename to args to arg, add arg_c and use std::size_t for indices 2016-01-18 15:53:24 -06:00
Paul
38ebdf298e Fix unreachable code warning 2016-01-18 08:17:58 -06:00
Paul
06dee68d5f Fix warnings in clang 2016-01-18 08:05:51 -06:00
Paul
1d5323a165 Add missing newlines 2016-01-17 23:50:01 -06:00
Paul
ff5207ed5d Rename includes 2016-01-17 23:16:02 -06:00
Paul
5b6eaca26a Rename headers 2016-01-17 23:04:10 -06:00
Paul
3645da0fd0 Use param limit in partial adaptor 2016-01-15 11:31:18 -06:00
Paul
068081571f Use limit in pipable 2016-01-15 11:13:47 -06:00
Paul
2d1d28dee5 Add limit adaptor 2016-01-15 10:13:09 -06:00
Paul
9515d6036e Prevent moving from rvalues in pack 2016-01-13 18:42:29 -06:00
Paul
011949d4dd Add callable to capture 2015-11-19 21:53:35 -06:00
Paul
35f73e80b1 Support callable for by adaptor 2015-11-19 21:44:12 -06:00
Paul
a695f3b31c Add workaround for gcc 4.6 2015-11-01 17:35:04 -06:00
Paul
bbb89bbbd2 Member function pointers can only be constexpr in clang 2015-10-31 15:33:01 -05:00
Paul
e1241684f9 Add support for general callables in apply 2015-10-31 15:24:51 -05:00
Paul
9b18f5ef8e Fix bug with sfinae id of rank 2015-10-31 03:34:29 -05:00
Paul
259c765ec6 Add construct meta 2015-10-14 09:28:11 -05:00
Paul
8cd89e90ba Add function decorators 2015-09-26 22:19:20 -07:00
Paul
1f30f1d368 Fix dangling state 2015-09-26 17:01:37 -07:00
Paul
0b6e15682f Dont remove references when checking for default construction 2015-09-20 15:38:03 -07:00
Paul Fultz II
33502979cd Merge pull request #22 from pfultz2/default_construction
Default construction
2015-08-30 01:18:36 -05:00
Paul Fultz II
24d2dbe268 Fix errors on MSVC with default construction 2015-08-29 20:04:24 -07:00
Paul
ab32573183 Add projection to construct object 2015-08-28 16:29:19 -05:00
Paul
b0bd7b6125 Add default construction to by_adaptor 2015-08-28 16:02:02 -05:00
Paul
f81cb1f083 Add default constructors to lazy adaptor, but only for empty types 2015-08-28 15:56:39 -05:00
Paul
95de65db5e Remove variadic 2015-08-25 16:29:10 -05:00
Paul
cf0ef58048 Add rotate adaptor 2015-08-24 19:04:30 -05:00
Paul
1c85fc4d84 Fix unused warnings 2015-08-24 17:04:02 -05:00
Paul
8d7e4c0b36 Add repeat_while 2015-08-21 12:46:06 -05:00
Paul
7355cc069b Add repeat adaptor 2015-08-20 17:50:50 -05:00
Paul
d95064adf5 Add if_c 2015-08-20 12:53:00 -05:00
Paul Fultz II
1a1e173ffb Addworkaround for template specilization failure on msvc 2015-07-31 14:33:27 -07:00
Paul Fultz II
ae146a8f9d Merge branch 'alias' of https://github.com/pfultz2/Fit into msvc-alias 2015-07-30 14:32:01 -07:00
Paul Fultz II
553ae709d9 Add some more workarounds for msvc 2015-07-30 13:33:10 -07:00
Paul Fultz II
51ce3c7628 Add some workarounds and fixes for the latest msvc 2015-07-29 15:45:33 -07:00
Paul
72952dd5f9 Add more tests for empty except for msvc 2015-06-26 00:49:39 -05:00
Paul
e12b830d0a Fix ebo on gcc 2015-06-23 18:55:14 -05:00
Paul
a9196f4915 Merge branch 'filter' into alias 2015-06-23 18:17:56 -05:00
Paul
045fdf5f10 Add tests for type deduction of packs 2015-06-23 18:17:46 -05:00
Paul
961fcc042b No constexpr tuples in gcc 4.7 2015-06-20 10:28:58 -04:00
Paul
be50e865f1 Add check for constexpr tuple in test 2015-06-20 09:56:21 -04:00
Paul
92eabf8f0b Add filter tests 2015-06-20 00:28:45 -04:00
Paul
dfa32f86e4 Update test and doc 2015-06-19 23:52:00 -04:00
Paul
f3613f96a8 Add if function 2015-06-19 23:43:42 -04:00
Paul
94ecd824d6 Add more tests for combine 2015-06-17 23:08:36 -05:00
Paul
c32d7ed699 Merge branch 'construct' into combine 2015-06-14 17:52:02 -05:00
Paul
1c73f13360 Add test for sfinae std::pair 2015-06-14 07:54:03 -05:00
Paul
77e000594d Add test using std::pair 2015-06-14 07:51:36 -05:00
Paul
947bb506d3 Add tests for combine 2015-06-14 07:27:16 -05:00
Paul
e3392dd1ca Merge 2015-06-14 05:51:46 -05:00
Paul
86723399a5 Merge branch 'compress' 2015-06-14 05:50:05 -05:00
Paul
08e3b12038 Add support for constructing from initializer list 2015-06-12 17:47:46 -05:00
Paul
7d46bb8da7 Check the gcc version correctly 2015-06-12 17:16:25 -05:00
Paul
bd0243782f Fix tests for gcc 4.7 2015-06-12 17:03:44 -05:00
Paul
be40fd789a Add construct function 2015-06-12 14:13:54 -05:00
Paul
8c753017e9 Add reverse compress 2015-06-12 11:35:32 -05:00
Paul
bbe9e0f199 Add an ordered test for compress 2015-06-11 12:50:02 -05:00
Paul
cf405e63ca Add support for nullary and unary calls 2015-06-07 00:05:13 -05:00
Paul
53563e6fdb Add initial compress adaptor 2015-06-06 23:50:42 -05:00
Paul
0427ee4eac Add flow adaptor 2015-06-06 13:46:39 -05:00
Paul
456b3c8ad4 Merge branch 'master' into msvc 2015-06-01 02:02:36 -05:00
Paul
7cd9be84a2 Merge branch 'travis' 2015-06-01 02:01:58 -05:00
Paul
6b37d9e92a Add more tests for move only types 2015-05-31 21:29:58 -05:00
Paul
a6915650a3 Merge branch 'static_const' 2015-05-30 21:49:49 -05:00
Paul
e43fe39036 Merge branch 'travis' into msvc 2015-05-30 15:34:41 -05:00
Paul
2dfb2f8147 Fix unsued variable warning on gcc 4.6 2015-05-30 10:49:44 -05:00
Paul
b9c1fad29d No rely on undefined macros 2015-05-30 10:34:00 -05:00
Paul Fultz II
270df2f857 Make reveal adaptor constexor constructible in msvc 2015-05-29 23:36:54 -07:00
Paul Fultz II
fc69bfa5e9 Add some more workarounds for msvc 2015-05-29 23:28:32 -07:00
Paul
c22a8dbcce Add workaround for constructing static functions 2015-05-30 01:09:00 -05:00
Paul Fultz II
9471476793 Improve constexpr construtibility of lambdas on msvc 2015-05-29 22:19:02 -07:00
Paul Fultz II
eab396babe Fix some bugs with detecting rewritability 2015-05-29 21:19:41 -07:00
Paul
fdf143aa64 Remove the no_static_lambda config macro 2015-05-29 22:59:35 -05:00
Paul
d58f7ddf5f Rewrite lambdas on msvc 2015-05-29 22:52:08 -05:00
Paul Fultz II
ab20f2024f Add some more workarounds for msvc 2015-05-23 20:32:17 -07:00
Paul Fultz II
9aeb0459c3 Limit constexpr checking 2015-05-23 19:05:11 -07:00
Paul Fultz II
0bb073a447 Update and_ to use the slow version for msvc 2015-05-23 18:56:02 -07:00
Paul
4ce7b1542a Remove deprecated files 2015-05-23 13:00:28 -05:00
Paul
11829d9199 Rename unique address config macro 2015-05-23 12:53:49 -05:00
Paul
f87202485b Rename FIT_STATIC_FUNCTION 2015-05-23 12:50:45 -05:00
Paul
5296bb513b Add more tests for unique address 2015-05-23 09:57:01 -05:00
Paul
779c40ca58 Add FIT_STATIC_CONSTEXPR_FUNCTION to declare functions with constexpr friendliness 2015-05-22 17:12:32 -05:00
Paul
34dad9678b Merge branch 'lift' 2015-05-22 13:57:26 -05:00
Paul
4e5d110962 Use unique address on gcc 4.6 as well 2015-05-22 13:50:06 -05:00
Paul
6fd7c6f3aa Add more checks for empty 2015-05-21 11:36:31 -05:00
Paul
6cface92fe Rename config macro 2015-05-21 11:04:21 -05:00
Paul
2ff90d6eec Disable unique address on gcc 4.6 2015-05-21 02:02:17 -05:00
Paul
dc43e48349 Add include for cstdio 2015-05-21 01:31:02 -05:00
Paul
7e0c178661 Make static functions have unique addresses even when using lambdas 2015-05-21 01:19:26 -05:00
Paul
ba9c2e1eba Declare static functions as references 2015-05-20 18:53:55 -05:00