Commit Graph

292 Commits

Author SHA1 Message Date
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
Kohei Takahashi
98b81ee102 Remove use of deprecated binder. (#144) 2016-11-20 16:58:04 +09:00
Kohei Takahashi
6f43cd7f66 Correct testcase condition. 2016-11-01 02:28:45 +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
a2b8a8f254 Don't define user-provided special functions.
To allow to define empty struct.
2016-10-13 00:18:14 +09:00
Kohei Takahashi
16a069be14 Fix test for non C++11/14. 2016-10-11 08:22:35 +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
Lee Clagett
79d8e9d11c Added to nested tests, and fixed C++11 vector copy-from-sequence 2016-05-31 16:52:57 -04:00
Kohei Takahashi
82f24e0f73 Tweak std::tuple test for GCC 4.4
due to https://gcc.gnu.org/PR41530 .
2016-03-11 01:01:12 +09:00