2
0
mirror of https://github.com/boostorg/phoenix.git synced 2026-01-19 04:22:14 +00:00

411 Commits

Author SHA1 Message Date
René Ferdinand Rivera Morell
d5dc15a1f5 Add support for modular build structure. (#121)
* Make the library modular usable.

* Switch to library requirements instead of source. As source puts extra source in install targets.

* Add missing import-search for cconfig/predef checks.

* Add requires-b2 check to top-level build file.

* Bump B2 require to 5.2

* Update copyright dates.

* Move inter-lib dependencies to a project variable and into the build targets.

* Update build deps.
2024-08-22 09:51:35 +08:00
Beojan Stanislaus
8b6a9c26c1 std::tuple support (Resolving #103) (#104)
* Add get_ for std::tuple support

* Account for MSVC not defining __cplusplus properly

* Fix test definition

* Skip tuple test if C++11 not available

* Make C++11 compatible

* Bump minimum standard for tuple support to C++ 14

Return type deduction is necessary because this can depend on parameters to
get.

* Remove debug type that made compile fail

* Also remove the use of that debug type

* Rename tuple.cpp to tuple_test.cpp

* Use direct initialization in tuple_test.cpp

* Bump osx_image for Travis

* Make tuple.hpp comply with standard style
2021-03-12 05:59:28 +08:00
Giovanni Mascellani
175887b424 Fix typo in copyright headers. 2020-10-09 15:41:33 +02:00
Nikita Kniazev
e920aa8108 Remove broken visit_each
The test for it is not run by the test suit, it does not compile because of
missing includes somewhere, and fixing compilation is not the end of the story.
The `visit_each` seems to be simply never worked, running the test fails with a
wrong result.

The only potential usage of `visit_each` is the Signals1/2 library, and I did
not find any bug report about that.
2019-12-04 19:44:04 +03:00
Nikita Kniazev
2fc69365f2 Remove never used phx2_result
Was added in 74722b8e46 with a message that it
is not ready, yet the headers are included with every Phoenix usage, affecting
compilation times. It was supposed to implement backward compatibility with
Phoenix 2 result protocol, what now seems to have little to zero value, since
the break happened about ten years ago.

Deleted tests:
  * `function_tests_phx2` duplicates `function_tests`
  * `bind_function_object_tests_phx2` duplicates `bind_function_object_tests`
  * `lambda_tests_phx2` duplicates `lambda_tests18`+`lambda_tests19`
2019-11-27 21:58:17 +03:00
Nikita Kniazev
a76e8e13c8 TST: Leave only converted bll_compatibility tests
The tests were borrowed from Lambda and only few are converted to test Phoenix.
2019-01-17 03:36:30 +03:00
Nikita Kniazev
d0b3a9cede TST: member_pointer_test: Fixed memory leak 2018-10-26 00:48:20 +03:00
Nikita Kniazev
f5fd5d017e TST: constructor_tests: Fixed memory leaks 2018-10-26 00:47:51 +03:00
Nikita Kniazev
64afcc8429 TST: Switch to lightweight test 2018-10-25 21:57:07 +03:00
Nikita Kniazev
ce066053d9 Added tests from bll_compatibility folder 2018-10-25 04:46:50 +03:00
Glen Fernandes
5f2061241f Fix unit tests that did not return report_errors() 2018-09-17 07:21:15 -04:00
Kohei Takahashi
389b204baf Merge pull request #61 from Kojoley/fix-let-assigned-from-construct-from-array
Fix let assigned from construct from array
2018-02-07 23:39:50 +09:00
Nikita Kniazev
e35373aa99 Actor is taken by reference on assignment/subscript 2018-02-05 20:58:30 +03:00
Nikita Kniazev
ca77374d30 Enable the fixed lambda test 2018-01-27 14:54:33 +03:00
Kohei Takahashi
faaf449d04 CI: Define CI marker within Jamfile
super-project will run tests, and failure since no marker.
2018-01-27 12:37:12 +09:00
Nikita Kniazev
49a4618d10 Fix let assigned from construct from array 2018-01-25 03:06:20 +03:00
Kohei Takahashi
c8f30332f6 Fixed wrong workaround
it should be 1800 for msvc-12, 1700 is msvc-11.
2018-01-16 09:50:21 +09:00
Kohei Takahashi
c807e4cc6f Disable some tests on AppVeyor. 2018-01-15 23:43:07 +09:00
Kohei Takahashi
4ecde73dd5 Reorganize lambda_tests
Those tests are complex and switched by compiler configuration but should not.
2018-01-15 23:39:07 +09:00
Nikita Kniazev
db4c79fe7c C++11: Fixed bug with initializing phoenix lazy from array types
Type `const T [N]` decays to `T *const` when you place it into a function signature.

Closes https://svn.boost.org/trac10/ticket/12733.
2017-12-29 13:46:31 +03:00
Kohei Takahashi
3d4c1d5dd5 Disable random_suffle in C++17. 2017-05-26 01:50:05 +09:00
Kohei Takahashi
5d8a6b4c42 Added tests for unordered containers. 2017-05-16 00:15:12 +09:00
Kohei Takahashi
a416e8b19c Lazy functions for set and multiset should be worked now. 2017-05-13 17:46:33 +09:00
Kohei Takahashi
629ea2983e Added tests for set and multiset. 2017-05-13 17:42:29 +09:00
Kohei Takahashi
4f0544edeb Suppress unused warnings. 2016-08-18 17:37:28 +09:00
Kohei Takahashi
ba07c70c47 Fix wrong include within test. 2016-08-13 11:27:15 +09:00
Kohei Takahashi
b82906369e Detect container availability independently. 2016-07-23 17:55:29 +09:00
Kohei Takahashi
a11636fd41 Fix documents and tests about include header. 2016-07-23 17:04:48 +09:00
Kohei Takahashi
3fe8df25ab Fix accidentally dropped changes.
see: 24443595c2
2016-02-21 01:06:19 +09:00
John Fletcher
f7726e1d22 Suspend tests on features not currently available. 2015-04-29 14:12:21 +01:00
Jeff Trull
bb4262059c Fix TRAC 11226 by partially reverting b959ed0c33ef28ec978689a8b1235661fcde93fe;
add a unit test for the observed issue.
2015-04-22 21:02:01 -07:00
Joel de Guzman
24443595c2 Merge branch 'master' into develop
Conflicts:
	ChangeLog
	doc/html/index.html
	include/boost/phoenix/function/lazy_prelude.hpp
	test/algorithm/querying_find.cpp
2015-04-23 09:53:32 +08:00
John Fletcher
bfcda9c8f7 Add include of boost/config before checking for MSVC 2015-04-16 12:37:10 +01:00
John Fletcher
cb697f0c91 Test of workaround for MSVC 12 and 14 2015-04-14 17:19:29 +01:00
John Fletcher
ed8a79893e Revise tests again 2015-04-13 22:54:33 +01:00
John Fletcher
a8b49ccf5c lambda_tests1b2r.cpp Change test again 2015-04-13 17:51:20 +01:00
John Fletcher
d22df82be6 Changes tests again 2015-04-11 00:16:27 +01:00
John Fletcher
39788ec2d7 Update tests for MSVC 12 and 14 2015-04-09 12:44:09 +01:00
John Fletcher
8b54377ce2 test/Jamfile run for_test2 2015-04-06 10:48:55 +01:00
John Fletcher
abd29767a7 for_test2.cpp remove tab 2015-04-06 10:48:04 +01:00
John Fletcher
bdfd6992cd Reduce scope of test to just the limits. Previous version exhausts resources. 2015-04-02 19:35:01 +01:00
John Fletcher
401fb9bc88 Reduce scope of test to just the limits. Previous version exhausts resources. 2015-04-02 19:30:39 +01:00
John Fletcher
a1c78f1f15 test/Jamfile Run lazy_thunk_tests 2015-04-02 19:21:33 +01:00
John Fletcher
a57bb49e78 function/lazy_thunk_tests.cpp New test 2015-04-02 19:19:22 +01:00
John Fletcher
061e412392 test/Jamfile run lazy_ptr_tests 2015-04-02 19:05:20 +01:00
John Fletcher
61ccbfe6bf lazy_ptr_tests New test 2015-04-02 19:05:02 +01:00
John Fletcher
e86d610bf7 Add phx:: to bind to resolve ambiguity. 2015-03-28 22:55:15 +00:00
John Fletcher
d6b54467d7 Extend test to cover BOOST_PHOENIX_ADAPT_FUNCTION 2015-03-28 21:09:11 +00:00
John Fletcher
11467c8395 Extend test to cover BOOST_PHOENIX_ADAPT_FUNCTION 2015-03-28 21:03:33 +00:00
John Fletcher
b01c7f330f remove namespace boost::phoenix 2015-03-28 20:47:54 +00:00