2
0
mirror of https://github.com/boostorg/fusion.git synced 2026-01-19 16:22:13 +00:00

93 Commits

Author SHA1 Message Date
René Ferdinand Rivera Morell
495539ce44 Add support for modular build structure. (#274)
* 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

* Change all <source> references to <library>.

* Update copyright dates.

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

* Update build deps.
2024-08-22 09:51:29 +08:00
Andrey Semashev
8c32ebea0b Removed executable flags from files. (#267) 2023-02-21 08:35:45 +08:00
niXman
3044c2beaf missing make_pair() for r-value refs (#264)
* missing make_pair() for r-value refs

hello guys!

the `make_pair()` for r-value refs is required for r-value, otherwise `non-copyable` but `movable` can be constructed.


thanks!

* fix for prev commit

conditional support for r-values was fixed

* the test case was added

* fix for prev commit

* Update Jamfile

* one more fix for Jamfile

* the forgotten r-value ctor was added

* ah, they should be conditional
2023-02-11 10:10:25 +08:00
Denis Mikhailov
d6298309fb Implemented ability to set fallback for tag_of (#263) 2022-12-22 08:16:10 +08:00
djowel
e79a8690f0 Merge branch 'develop' 2022-09-26 08:11:49 +08:00
Nikita Kniazev
b0f0882229 Define traits::is_view for non fusion types 2018-08-03 00:24:10 +03:00
Kohei Takahashi
77959b1d33 test: Added test for ticket 5490 2018-07-07 01:23:11 +09:00
Kohei Takahashi
68be23a0b9 Merge upstream branch 'develop' into support 2018-04-27 20:32:09 +09:00
Kohei Takahashi
38aa3705d0 Added test for unused_type 2018-04-27 12:37:00 +09:00
Kohei Takahashi
96b2e51828 Added test for #176 2018-04-18 22:33:36 +09:00
Louis Dionne
82f677c169 Allow incomplete types in fusion::tag_of and fusion::is_native_fusion_sequence 2018-03-02 02:03:43 -08:00
Kohei Takahashi
540ea0ef0c Use build time configuration 2018-01-29 12:03:19 +09:00
Kohei Takahashi
671f22b013 Use new common CI marker 2018-01-29 10:34:33 +09:00
Kohei Takahashi
dfceaffc58 Update copyright year 2018-01-29 10:30:55 +09:00
Kohei Takahashi
d8e6f406ab Mark as CI in Jamfile not command line
super-project also runs regression test, but they doesn't define that.
2018-01-29 10:15:39 +09:00
Kohei Takahashi
5fd8c36079 Added test for GitHub issue #159 2017-11-23 22:27:59 +09:00
Kohei Takahashi
2952fd254f Use build time config to filter tests. 2017-04-27 22:23:39 +09:00
Kohei Takahashi
1ec001888d Reformatting. 2017-02-02 22:08:16 +09:00
Kohei Takahashi
0d8243b36d Merge pull request #142 from Flast/std_array
Adaptor for std::array.
2016-10-31 01:40:57 +09:00
Kohei Takahashi
e74ccb1cf5 DEFINE_STRUCT now allows move construct/assign. 2016-10-19 01:33:43 +09:00
Kohei Takahashi
7b13053c7e Merge pull request #135 from vtnerd/bugfix/vector_conversion_constructor
Make C++11 fusion::vector more consistent with C++03 fusion::vector
2016-10-14 13:51:52 +09:00
Kohei Takahashi
ef1ca12e81 Added tests for adapted empty struct. 2016-10-14 01:47:02 +09:00
Kohei Takahashi
61fab16418 Merge branch 'mloskot/boost_fusion_std_array' into develop 2016-10-10 18:46:29 +09:00
Kohei Takahashi
928ced256a Adjust directory structure. 2016-10-09 22:14:42 +09:00
Lee Clagett
5906d9c316 Make C++11 fusion::vector more consistent with C++03 fusion::vector
- Construct from elements is enabled iff each argument is_convertible to
    corresponding element.
  - Construct from sequence is enabled iff the single argument is a fusion
    sequence.
  - C++11 vector and tuple also disable construct from sequence that are
    shorter than the destination. C++03 gives incorrect is_convertible
    responses in this situation and fails to compile if that constructor is
    used; C++11 can have instantation errors in
    and_<is_convertible<U, T>...> without the additional check.
  - C++11 tuple and vector support truncation conversion and assignment like
    all other sequences.
2016-08-26 12:45:11 -04:00
Lee Clagett
55150a7fa6 Add DISABLE_VARIADIC_VECTOR and SFINAE for c++11 tuple element construction 2016-07-26 14:53:26 -04:00
Kohei Takahashi
c30fabf98f Apply 7fdb320 change into C++98 interface. 2015-08-30 17:13:36 +09:00
Kohei Takahashi
10d9f0ffba Add convert tests for non-assoc containers. 2015-08-25 23:36:32 +09:00
Joel de Guzman
b1bb9921e2 Merge pull request #92 from Flast/bugfix/issue-11140
Fix a issue with nested fusion::tuple.
2015-07-27 15:26:10 +08:00
Kohei Takahashi
4fa0a5f550 Add tests for nested fusion::tuple. 2015-07-27 13:31:19 +09:00
Louis Dionne
7fdb3201fa [Deque] Make the from-sequence constructor SFINAE friendly 2015-07-24 22:11:53 +02:00
Kohei Takahashi
2b14951660 Split c++14 like index_sequence into support/detail. 2015-06-22 21:58:54 +09:00
Kohei Takahashi
e0f10734b1 Fix issue 11267.
Compiler yields compile error within a function witch used in unevaluate
context of constexpr function because of CWG 1581 [2].

1. https://llvm.org/bugs/show_bug.cgi?id=23135
2. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#1581
2015-06-08 11:53:17 +09:00
Jamboree
d03f79b6fd Update documents and tests for #8270 from Jamboree.
https://svn.boost.org/trac/boost/ticket/8270

see also: b36426c8e3
2015-02-22 01:06:27 +09:00
Joel de Guzman
af1bc25783 - disabling test for now (todo later)
- removing irrelevant tuple test
2015-01-05 17:43:35 +08:00
Kohei Takahashi
24e95c34fb Add tests for #9914 2014-12-05 01:39:27 +09:00
Kohei Takahashi
4dd4773d3d Fix wrong include
and add tests for move.
2014-11-19 17:38:16 +09:00
Joel de Guzman
d10f40c489 Merge pull request #40 from Flast/patch-1
result_of::size::value and result_of::size::type::value should be same type
2014-11-19 06:22:41 +08:00
Kohei Takahashi
cc9b043168 result_of::size::value and result_of::size::type::value should be same type, rels to: #7304. 2014-11-13 15:44:30 +09:00
Louis Dionne
0ed591d214 Fix compilation error with as_deque in C++11. 2014-11-12 14:59:28 -05:00
Kohei Takahashi
7a7b225fb1 Add boost_tuple_iterator_identity to compare iterator correctly.
And add test for boost_tuple_iterator.
2014-11-06 17:10:31 +09:00
Joel de Guzman
5ae01ad6a9 - Added sfinae test case for fold
- Some cleanup
2014-10-28 09:06:42 +08:00
Joel de Guzman
d5eb1e793c Merge pull request #26 from ldionne/master
Improve support for constexpr in fusion::nil and its iterators.
2014-10-28 08:12:04 +08:00
Kohei Takahashi
790810757a Rename the test tr1_tuple_auto_conv to std_tuple_auto_conv.
Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-10-09 00:56:17 +09:00
fiesh
f7685b1194 add automatic hash function creation 2014-07-24 14:22:55 +02:00
Kohei Takahashi
059c041659 Add test for convert seq to std::tuple
Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-06-09 21:59:06 +09:00
Jamboree
fd3a18ce1a flatten/flatten_view/ref 2014-04-04 14:38:38 +08:00
Joel de Guzman
085c3c25ca more map tests (including move test)
[SVN r82725]
2013-02-04 11:52:18 +00:00
Joel de Guzman
764a31e9f5 fixed typo
[SVN r82714]
2013-02-04 06:22:50 +00:00
Joel de Guzman
aba201eb4e Added more map tests
[SVN r82712]
2013-02-04 06:20:10 +00:00