Commit Graph

339 Commits

Author SHA1 Message Date
Paul
9fc2947499 Some more document fixes 2016-02-24 00:50:19 -06:00
Paul
4d334b2320 Document configurations in the Fit library 2016-02-23 09:59:18 -06:00
Paul
9cd7beb25f Fix typo of declval 2016-02-22 19:04:42 -06:00
Paul
cc769e7f00 Add a note about the the reveal adaptor being used with static functions 2016-02-22 18:52:59 -06:00
Paul
d9198cf7f1 Document the failure reporting with reveal 2016-02-22 18:47:36 -06:00
Paul
4495d96159 Add a sample of error messages to reveal 2016-02-22 09:31:46 -06:00
Paul
2f3e3e162b Dont access nested template type 2016-02-21 23:30:44 -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
334642f947 Only use aliases on clang 2016-02-21 18:05:01 -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
3d233d100b Use base template parameter for reveal 2016-02-21 11:52:51 -06:00
Paul
b2e21012f9 Update documentation for repeat and repeat_while 2016-02-21 10:09:29 -06:00
Paul
dc02c2786e Add link to result 2016-02-21 10:06:06 -06:00
Paul
7cfcb4f7f9 Update documentation about use of constexpr with fix 2016-02-21 10:05:34 -06:00
Paul
70362b20ec Fix repeat_while tests for integrals 2016-02-21 09:49:23 -06:00
Paul
2a668fecb5 Specialize conditional on two functions 2016-02-21 09:18:09 -06:00
Paul
9b9b63a617 Make conditional lazy 2016-02-21 08:51:56 -06:00
Paul
d638652ada Initial work for integral repeat_while 2016-02-21 08:42:53 -06:00
Paul
12b277b399 Add a configuration for recursive constexpr depth 2016-02-21 01:29:50 -06:00
Paul
0907470b80 Use a more constexpr friendly decrement 2016-02-21 00:07:54 -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
1aafe95a3b Add support using regular integers in repeat 2016-02-20 18:04:42 -06:00
Paul
fa94a7b8ca Expand alias 2016-02-20 16:42:35 -06:00
Paul
c2ebe69df6 Merge branch 'intrinstics' 2016-02-20 16:09:26 -06:00
Paul
0d1653a370 Fix typo in callable_base_type 2016-02-20 15:46:51 -06:00
Paul
9cae0ed0bb Disable static casting for perfect forwarding on msvc 2016-02-20 13:36:35 -08:00
Louis Dionne
f27f8553fa [unpack] Fix typo in the documentation 2016-02-19 20:30:00 -05:00
Paul
7f55bbcf1a Add more explanation for decorators 2016-02-19 17:23:55 -06:00
Paul
964989ad9f Remove extraneous parens 2016-02-19 13:57:01 -06:00
Paul
dcf11de975 Fix incorrect elipsis 2016-02-19 13:51:31 -06:00
Paul
3be9a3ef2b Improve example for decorator 2016-02-19 13:40:14 -06:00
Paul
a3164289e7 Use default constructible intrisic everywhere 2016-02-19 09:49:27 -06:00
Paul
1a25cc6f3d MSVC fixes when using and unpack 2016-02-19 07:37:20 -08:00
Paul
dcf4598158 Fix missing closing bracket 2016-02-19 09:10:09 -06:00
Paul
0b03a45605 Try using constexpr function for msvc 2016-02-19 08:59:23 -06:00
Paul
b9cbabd4c8 Move intrinsic to seperate class to avoid mangling problems of type trait expression 2016-02-19 08:39:47 -06:00
Paul
b24a0f73b6 Update with more intrisics 2016-02-19 01:34:53 -06:00
Paul
f694492451 Fixes for msvc 2016-02-19 01:29:03 -06:00
Paul
d090395368 Disable template aliases on gcc 4.7 2016-02-18 18:34:48 -06:00
Paul
9d4bbf6f92 Fix warning on gcc 2016-02-18 17:58:46 -06:00
Paul
b35d57ae38 Use fit_returns 2016-02-18 14:57:43 -06:00
Paul
176d5f5482 Unpack and expression 2016-02-18 13:05:43 -06:00
Paul
6b7b590f34 Use default constructor intrisctic 2016-02-18 10:56:39 -06:00
Paul
cc7ebb047c Fix name of is_literal type trait 2016-02-18 10:33:44 -06:00
Paul
b22252fd8c Set the right intristic name for gcc 2016-02-18 10:26:30 -06:00
Paul
19d24b631c Setup intristics for other compilers as well 2016-02-18 00:59:19 -06:00
Paul
cce5f0a660 Add macros for type trait instrinstics 2016-02-18 00:30:33 -06:00
Paul
d5ad1f04f8 Dont use aliases for failures 2016-02-17 23:49:38 -06:00
Paul
8f6b88c120 Merge branch 'static_cast' into using-alias 2016-02-17 02:11:28 -06:00
Paul
cb45a7041c Add fixes for conditonal for msvc and gcc 4.6 platforms 2016-02-15 16:22:10 -06:00
Paul
df730322b0 Merge branch 'static_cast' into using-alias 2016-02-15 11:53:08 -06:00
Paul
bc84ccb6bb Improve compile time performance of condtional adaptor 2016-02-15 11:33:13 -06:00
Paul
f96be0cb16 Use static_cast in pipe invoke 2016-02-15 10:45:57 -06:00
Paul
5dc9796a09 Add using alias to is_callable 2016-02-15 10:42:12 -06:00
Paul
136486363b Use alias for and_ and default construction 2016-02-14 21:34:22 -06:00
Paul
c599b5fe03 Add missing using header 2016-02-14 21:28:37 -06:00
Paul
0b98ee72ab Add using alias for reveal adaptor 2016-02-14 20:49:34 -06:00
Paul
2eb84afe56 Replace move with casts 2016-02-13 19:08:06 -06:00
Paul
4a09ba28cf Add static_cast to decay 2016-02-13 18:55:20 -06:00
Paul
f5ffe620dc Replace forward with static_cast 2016-02-13 18:54:19 -06:00
Paul
538aa5b0f3 Add example for decorate 2016-02-13 16:29:16 -06:00
Paul Fultz II
b02b4bf237 Merge pull request #94 from tzlaine/patch-4
Docs: idenity -> identity
2016-02-10 20:45:41 -06:00
Paul
dc3417c9b7 Extract all examples from file 2016-02-10 20:29:16 -06:00
Paul
4ff3f0277e Fix warnings and errors in examples 2016-02-10 19:43:48 -06:00
Paul
e0d0dab9a7 Fix spelling of no ordered brace init macro 2016-02-10 19:13:08 -06:00
Paul
5a2726d4ed Add void casts to avoid compiler error with return types 2016-02-10 19:05:30 -06:00
Paul
75ba99b218 Add return statement 2016-02-10 18:45:32 -06:00
Paul
0fb6a69ee1 Mask void in apply_eval 2016-02-10 18:40:35 -06:00
Paul
ec8346960b Fix compile errors in example code 2016-02-10 18:12:30 -06:00
Zach Laine
db685e1762 idenity -> identity 2016-02-10 11:56:31 -06:00
Paul Fultz II
addd44cb4c Merge pull request #91 from tzlaine/patch-3
Docs: In combine() docs, use different int constants for clarity.
2016-02-09 09:16:59 -06:00
Paul Fultz II
19c05abb8d Merge pull request #88 from tzlaine/patch-2
Docs fix: Correct misuse of "continually".
2016-02-09 09:16:15 -06:00
Zach Laine
c370b4b149 In combine() docs, use different int constants for clarity. 2016-02-09 09:06:16 -06:00
Zach Laine
1b12e3bc44 Correct misuse of "continually" in "partial" docs. 2016-02-09 08:48:47 -06:00
Zach Laine
b7dedf1c0c In fix() docs, use the name of the first arg to F for exposition. 2016-02-08 14:08:00 -06:00
Jake Brownson
6fbf81aa67 fix typo in docs 2016-02-03 15:55:49 -08:00
Paul
cde4ff3ecb Annotate fit namespace in returns 2016-01-19 10:23:34 -06:00
Paul
3b4cb2ccf2 Fix spelling mistake 2016-01-19 00:30:14 -06:00
Paul
3379ea0cbd Add missing annotation in placeholders 2016-01-19 00:24:45 -06:00
Paul
8bff7096c4 Update combine to use size_t 2016-01-18 18:04:18 -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
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
0a57f66524 Add newline eof warning 2016-01-17 23:45:11 -06:00
Paul
399ef3304c Annotate closing namespace 2016-01-17 23:42:00 -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
be316e624c Move fit to include directory 2016-01-17 19:10:53 -06:00