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
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
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
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
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
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
Joel de Guzman
f7b90f2981
Merge pull request #124 from Flast/feature/ticket-11157-remove-BOOST_PP_IS_EMPTY
...
Remove use of BOOST_PP_IS_EMPTY.
2016-02-17 04:45:16 +08:00
Kohei Takahashi
4173b4b97b
Suppress conversion warnings on MSVC.
2016-02-16 01:02:58 +09:00
Damien Buhl (alias daminetreg)
11cc331f82
Add test with namespaced names, as it could break with the macro concatenation to check for BOOST_MPL_PP_TOKEN_EQUAL_auto equality.
2016-02-13 14:15:53 +09:00
Damien Buhl (alias daminetreg)
2e466ac054
Remove BOOST_PP_IS_EMPTY in favor of BOOST_MPL_PP_TOKEN_EQUAL and added auto as synonym for BOOST_FUSION_ADAPT_AUTO.
...
Fix ticket https://svn.boost.org/trac/boost/ticket/11157
BOOST_MPL_PP_TOKEN_EQUAL is now used to check if auto/BOOST_FUSION_ADAPT_AUTO
was provided as type, telling to deduce members types.
2016-02-13 14:15:53 +09:00
Kohei Takahashi
a6d1b303b3
Fix block comment style.
...
Intel Compiler warns on nested comment.
2015-09-09 13:35:03 +09: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
3521ea3417
Suppress warnings.
2015-06-08 21:41: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
Damien Buhl (alias daminetreg)
9911e05838
Adds test for each case adapter macros we support to adapt an empty type.
2015-05-15 09:09:10 +02:00