306 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
IncludeGuardianandIncludeGuardian ce8b031f54 Swap include guards to #ifndef (#271)
Compilers implement a multiple-include optimization where they avoid
preprocessing an included file if it is "properly guarded". Compilers
differ as to what constitutes a "properly guarded" file. In particular,
Microsoft Visual Studio does not recognize `#if !defined(GUARD)` for
the optimization. This does not affect the correctness of using Fusion
on Microsoft Visual Studio, but it will increase the time taken to build
any project on this compiler.

This commit changes all include guards to use `#ifndef`, but leaves all
other `#if !defined` preprocessor directives that are not related to
guarding a file.

Co-authored-by: IncludeGuardian <hello@includeguardian.io>
2024-02-25 12:37:08 +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
denzor200 9a2f490130 [githubactions] Fixed reverse_view test for C++03 2022-09-26 08:56:30 +08:00
denzor200 1a9faa6744 Diff simplified && update copyrights 2022-09-26 08:56:10 +08:00
denzor200 2a295202f7 Applied fixes for reverse_view 2022-09-26 08:56:10 +08:00
Denis Mikhailov afba308e47 Update reverse_view.cpp 2022-09-26 08:55:49 +08:00
Denis Mikhailov 662567cb9f Update reverse_view.cpp 2022-09-26 08:55:49 +08:00
djowel e79a8690f0 Merge branch 'develop' 2022-09-26 08:11:49 +08:00
Giovanni Mascellani 5a9bfa3d7d Fix missing name copyright headers.
The name was reconstructed from the Git history.
2020-10-05 19:31:34 +02:00
Nikita Kniazev 4778c4c180 Fix comparison operators enabler
Overloads must not be presented until both arguments are Fusion sequences.
2019-12-04 03:04:34 +03:00
Jaydeep Chauhan 3e07b3f66b Disabled two test which tries to return local address 2019-07-25 18:10:22 +05:30
Nikita Kniazev a26dcf59ce TST: vector_n: Fixed conversion warning
```
boost\fusion\container\vector\vector.hpp(168): warning C4244: 'initializing': conversion from 'T' to 'T', possible loss of data
1>        with
1>        [
1>            T=int
1>        ]
1>        and
1>        [
1>            T=float
1>        ]
```
2018-10-05 15:54:35 +03:00
Glen Fernandes 3cfbd9826d Fix unit tests that did not return report_errors() 2018-09-17 07:17:29 -04:00
Kohei Takahashi 6a3ddd1458 Merge pull request #191 from boostorg/adapt-adt/return-const
adapt/adt: Don't add/remove const on return type of attributes
2018-08-09 08:21:49 +09:00
Nikita Kniazev b0f0882229 Define traits::is_view for non fusion types 2018-08-03 00:24:10 +03:00
Kohei Takahashi 95b4500898 test: Suppress unused warning 2018-08-02 12:43:26 +09:00
Kohei Takahashi b02cb70760 test: Suppress unused warning on MSVC 2018-08-02 09:37:32 +09:00
Kohei Takahashi 77ebd568e1 adapt/adt: Don't add/remove const on return type of attributes
Boost.TypeOf always deduces the type as un-cv-qualified value type, thus const-ized
value type is redundant and inhibiting compiler optimization.
2018-08-01 20:08:24 +09:00
Kohei Takahashi f03bb5ec2e test: Removed unnecessary semi-colon 2018-07-28 14:40:51 +09:00
Kohei Takahashi cc0c684a92 test: Suppress unused warning 2018-07-27 12:45:33 +09:00
Kohei Takahashi c76cd3d6b2 test: Suppress unused warning 2018-07-07 01:27:20 +09:00
Kohei Takahashi 77959b1d33 test: Added test for ticket 5490 2018-07-07 01:23:11 +09:00
Kohei Takahashi 0e4c5127f5 algo/for_each: Fixed parameter type
to be able to call mutable object
2018-07-02 22:19:25 +09:00
Kohei Takahashi d832387fdb Fixed misused parenthesized initializer 2018-05-13 18:59:43 +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 e8da43a539 Added workaround for gcc 4.6 with C array 2018-04-26 00:02:57 +09:00
Kohei Takahashi c4881f1862 Merge upstream branch 'develop' into more-ci-targets 2018-04-22 03:41:55 +09:00
Kohei Takahashi e818089a91 likewise 2018-04-21 19:18:09 +09:00
Kohei Takahashi a95a838779 Added workaround to test
is_constructible on GCC < 4.7 always fail to test non unary ctor
2018-04-21 18:22:24 +09:00
Kohei Takahashi 7443cb1101 Changed availability condition to what Boost.TT providing 2018-04-20 13:04:02 +09:00
Kohei Takahashi 757541f9d2 Updated c-style array test for associative container 2018-04-18 22:39:55 +09:00
Kohei Takahashi 96b2e51828 Added test for #176 2018-04-18 22:33:36 +09:00
Kohei Takahashi 4734cf4a13 Fixed detail::and test
it should be used mpl/assert instead of runtime facility.
2018-03-14 14:41:43 +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 f61bffb21f Remove $$$ JDG temp $$$ 2018-02-24 16:00:57 +09:00
Kohei Takahashi eeeee9bfbb Fixed ambiguous call of hash_value
ADL also picks stdext::hash_value which msvc providing.
2018-02-19 22:40:56 +09:00
Kohei Takahashi d0c17119e7 CI: skip known to fail 2018-02-17 17:46:03 +09: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 e992658ce3 Skipping some tests due to compiler bug.
It is better to skip such tests on AppVeyor to detect regression.
2017-10-18 23:09:27 +09:00
Lee Clagett b24dfd635b Fixed bug in test/sequence/nest.hpp where some results were ignored 2017-07-25 15:29:57 -04: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