Commit Graph

433 Commits

Author SHA1 Message Date
Zach Laine
a114264118 Update doc/Jamfile.v2 with top-level targets more appropriate to a Boost
submodule build.
2018-06-11 22:41:37 -05:00
Zach Laine
7c2a36bb2d Escape double-minus "--" in Doxygen comments. 2018-03-22 21:29:31 -05:00
Zach Laine
5dc7e8dc6d Fix badly broken USER_BINARY_OPERATOR() generated overload.
Fixes #82.
2018-03-21 22:31:39 -05:00
Zach Laine
2aa7a85210 transfrm -> transform 2018-03-21 22:14:10 -05:00
Zach Laine
4fffac23c0 Doc updates based on offline post-list-review doc review by Brook Milligan. 2018-03-21 21:50:53 -05:00
Rohit Grover
c19e308a97 #79: add constexpr to transform and its supporting funcs 2018-03-09 20:29:39 -06:00
Zach Laine
c5f5ca84c4 Constexpr all the expression things.
Fixes #70.
2018-03-09 19:24:33 -06:00
Rohit Grover
f0b5dbd977 #76: operator macros should define constexpr functions 2018-03-09 19:09:59 -06:00
Zach Laine
62d64d9b44 Remove Google benchmark, and clone it for use only in the CMake build. 2018-03-04 13:16:00 -06:00
Zach Laine
ba3d943559 Simplify if_else so that it no longer requires linking to unit_test_framework. 2018-03-04 12:41:00 -06:00
Zach Laine
8cbd7c70c2 Fix CMake build. 2018-03-04 12:23:08 -06:00
Zach Laine
e14b9d962f Use Boost.Build and Boost.Test for tests.
Fixes #52.
2018-03-04 02:50:29 -06:00
Zach Laine
ea27d342ba Remove googletest. 2018-03-04 01:41:21 -06:00
Zach Laine
820f3cbe90 Remove requirements.txt. 2018-03-04 01:40:53 -06:00
Zach Laine
fc170e6bfb Add meta/libraries.json. 2018-03-04 01:18:14 -06:00
Zach Laine
22102113d0 Add index.html. 2018-03-04 01:09:59 -06:00
Zach Laine
8b4e2cc5ea Doc copy editing. 2018-03-03 23:37:48 -06:00
Zach Laine
26ff6ece8c Add compile-fail tests for functions in algorithm.hpp.
Fixes #54.
2018-03-03 22:28:11 -06:00
Zach Laine
17b85f4ae4 Add codecov.io badge. 2018-03-03 21:47:54 -06:00
Zach Laine
5c8f50273d Flesh out print test for 100% coverage.
Fixes #55.
2018-03-03 21:42:07 -06:00
Zach Laine
71e983a0f6 Add code coverage build mode. 2018-03-03 20:54:50 -06:00
Zach Laine
a5ce500ef6 Add BOOST_YAP_USER_CALL_OPERATOR_N.
Partially addresses #51.
2018-03-03 20:27:13 -06:00
Zach Laine
143beb91de Unify binary member and nonmember macros; add subscript operator member macro.
Fixes #22.
Fixes #68.
2018-03-03 18:06:34 -06:00
Zach Laine
5f5731df93 Make the non-unary uses of BOOST_YAP_INDIRECT_CALL() work the same as the unary ones. 2018-03-03 16:39:41 -06:00
Zach Laine
4ce7fbafd8 BOOST_YAP_USER_UNARY_OPERATOR_MEMBER -> BOOST_YAP_USER_UNARY_OPERATOR
Partially implements #22.
2018-03-03 16:20:39 -06:00
Zach Laine
2f848f7cf4 Disable XCode 7.3 ad 8 due to spurious Travis failures. 2018-03-03 00:59:37 -06:00
Zach Laine
d5cc39cc0c Messing about with Travis. 2018-03-03 00:49:22 -06:00
Zach Laine
cea5ead297 Messing about with Travis. 2018-03-03 00:39:02 -06:00
Zach Laine
8b3ff1542e Messing about with Travis. 2018-03-03 00:28:16 -06:00
Zach Laine
081bca35ff Messing about with Travis. 2018-03-03 00:04:39 -06:00
Zach Laine
a99326da3a Restore older version of Travis build config due to utter confusion. 2018-03-02 23:51:15 -06:00
Zach Laine
9c67b71648 Fix dangling reference errors by reinstating the use of as_expr() in recursive
transforms.
2018-03-02 23:32:19 -06:00
Zach Laine
311ce35ec9 Revert "Remove the now-redundant uses of as_expr()."
This reverts commit 260dc0e82d.
2018-03-02 23:11:44 -06:00
Zach Laine
298205100f Fix dangling references produced by evalaute(); simplify much of the
transform() implementation machinery.
2018-03-01 22:32:32 -06:00
Zach Laine
4c6eaec081 Add missing message string to all static_asserts without them. 2018-03-01 20:04:42 -06:00
Zach Laine
20dff650a1 Fix expected number of allocations in lazy_vector_alloc_test. 2018-02-28 19:03:17 -06:00
Zach Laine
0c79fbb951 Run Travis tests with ASAN_OPTIONS=alloc_dealloc_mismatch=0. 2018-02-28 19:02:18 -06:00
Zach Laine
ef4bf4cec6 Fix wrong case of build_type in Travis script. 2018-02-28 18:48:55 -06:00
Zach Laine
3f5178551b Correct undefined behavior in operator new() in lazy_vector_alloc_test. 2018-02-28 18:30:19 -06:00
Zach Laine
8ea88d2190 Use ASan, fix debug vs. release builds, and run examples in Travis builds. 2018-02-28 18:21:31 -06:00
Zach Laine
64aeedbc76 Add run_examples make target that does just what you'd expect. 2018-02-27 17:29:34 -06:00
Zach Laine
2fcec35e49 Add support for running ASan and UBSan. 2018-02-27 17:29:26 -06:00
Louis Dionne
b2322fbca3 Fix typos 2018-02-26 22:41:16 -06:00
Zach Laine
9057c155e8 Add string to new static_assert to fix C++14 builds. 2018-02-26 17:57:58 -06:00
Zach Laine
661b09d09d BOOST_YAP_USER_FREE_BINARY_OPERATOR -> BOOST_YAP_USER_NONMEMBER_BINARY_OPERATOR;
add BOOST_YAP_USER_ASSIGN_OPERATOR_MEMBER to macros table in docs.
2018-02-25 22:44:19 -06:00
Zach Laine
b25568c67f Add missing snippet for BOOST_YAP_USER_ASSIGN_OPERATOR_MEMBER(). 2018-02-25 22:22:02 -06:00
Zach Laine
47ad8c1a9c Prohibit use of assign with BOOST_YAP_BINARY_MEMBER_OPERATOR(), and create a
new macro BOOST_YAP_USER_ASSIGN_OPERATOR_MEMBER() that guards against
assignment ambiguity.

Fixes #58.
2018-02-25 22:04:51 -06:00
Zach Laine
b25a907198 Add value checks to deref tests.
Fixes #56.
2018-02-25 16:21:16 -06:00
Zach Laine
99f207e75b Add an elaborated description of what evaluate() does.
Fixes #48.
2018-02-25 16:11:41 -06:00
Zach Laine
3f24d04ec6 Add a YAP expression version of the AST from the primer for clarity. 2018-02-25 15:45:20 -06:00