451e21adb3
Update workarounds for msvc 14.1
2017-04-30 23:26:24 +09:00
c630611626
Fix returing temporary variable warning on MSVC.
2016-11-01 01:54:10 +09:00
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
55150a7fa6
Add DISABLE_VARIADIC_VECTOR and SFINAE for c++11 tuple element construction
2016-07-26 14:53:26 -04:00
79d8e9d11c
Added to nested tests, and fixed C++11 vector copy-from-sequence
2016-05-31 16:52:57 -04:00
104f508cef
Remove outdated comment.
2016-03-07 19:42:23 +09:00
b46aad996a
Remove trailing void_ support on variadic vector.
2016-02-11 23:56:07 +09:00
64b8406c16
Introduce detail::enabler instead of fusion::void_.
2015-12-10 17:06:04 +09:00
2492ff9b25
regen
2015-12-01 01:26:08 +09:00
12792a6c11
Fix compile error with ambiguous ctor, close #11766 .
...
When a) first elem is sequence b) second (and third) elem is(are) void*,
both of conversion ctor and forwarding ctor are candidate since SFINAE
expression has void* type.
2015-12-01 01:14:52 +09:00
3298875ecc
Add double identity trick for fast value_at (vectors)
...
This is a workaround to make decltype(expr)::type compiles
with old compilers.
2015-11-10 14:04:16 +01:00
74c0d5d0ec
Fix fusion::at<vector<...>, N> for C array types
2015-11-10 10:55:13 +01:00
4d3891ed31
Remove invalid odr-usages of boost::declval.
2015-11-07 16:11:06 -05:00
4d5da0371b
Suppress undefined inline function warning.
2015-10-27 07:59:55 +09:00
73045b4d49
Fix compile error on by-elem ctor.
...
Single element vector of fusion sequence cannot construct from its
element type.
2015-10-23 08:29:05 +09:00
18742c6922
Merge pull request #105 from boostorg/variadics
...
Merge variadics into develop.
2015-10-22 15:40:04 +08:00
1ad2e59e07
Make fusion::at<vector<...>,N> O(1).
2015-10-20 20:12:14 +09:00
a81024f617
Regenerate preprocessed files.
2015-10-17 11:24:19 +09:00
ce4ccb929c
Check the argument being fusion sequence or not.
2015-10-08 22:23:10 +09:00
5114d9419e
Drop unnecessary ctor.
2015-10-07 17:40:55 +09:00
ca0d92e68d
R-value references are now container-wide requirements.
2015-10-06 21:29:02 +09:00
c750552a02
Tweak coding style.
2015-10-06 11:28:16 +09:00
c30fabf98f
Apply 7fdb320
change into C++98 interface.
2015-08-30 17:13:36 +09:00
e61d08d953
Fix broken convert<deque_tag>, close issue 11572.
2015-08-26 00:20:07 +09:00
d9e5a620be
Merge pull request #97 from Flast/feature/variadic/set
...
Variadics for fusion::set.
2015-08-20 21:57:19 +08:00
c5ba3af4c0
Added move functions for set.
2015-08-20 22:30:41 +09:00
22994d7e96
Fix a discrepance of element types in make_set.
2015-08-04 16:23:13 +09:00
1bde5c6fa3
Merge pull request #96 from Flast/bugfix/issue-11517
...
Fix #11517
2015-08-03 08:48:56 +08:00
8242c688e7
Older GCC doesn't accept use of this
in constexpr.
...
Fix #11517
2015-08-03 00:03:40 +09:00
24f527d401
Use BOOST_CONSTEXPR_OR_CONST instead.
...
Older GCC cannot specify both of const and constexpr to variable decl.
Partially fix #11517
2015-08-02 21:58:20 +09:00
6689de502b
Implement variadic make_set.
2015-07-30 11:56:09 +09:00
8761ed1b8d
Merge pull request #94 from Flast/preprocess
...
Regenerate preprocessed files.
2015-07-28 08:03:22 +08:00
e37fd170ce
Preprocessing...
2015-07-28 01:02:41 +09:00
7fdb3201fa
[Deque] Make the from-sequence constructor SFINAE friendly
2015-07-24 22:11:53 +02:00
00823cc315
Merge pull request #84 from Flast/feature/variadic/list
...
Variadic fusion::list.
2015-07-01 08:35:47 +08:00
c0fcaae951
Prevent use of conversion ctor for copy purpose.
...
Some compilers elect conversion ctor for copy purpose in implicitly defined copy ctor with derived class.
2015-07-01 02:25:13 +09:00
298eeef9c9
Remove evil numbered_vector_tag.
2015-06-30 01:28:01 +09:00
62d9833bbf
Add missing remove_const.
2015-06-29 21:55:51 +09:00
b4133761e8
Implement C++11 variadic templates based fusion::set
2015-06-29 18:14:25 +09:00
f9fda7ce06
Remove intermediate specialization.
2015-06-28 19:42:08 +09:00
1f8ccd7bc3
Support move for make_vector.
2015-06-28 13:46:56 +09:00
969b475462
Implement variadic templates based fusion::vector.
...
Thanks to Lee Clagett.
2015-06-28 01:15:51 +09:00
c77f84749f
Implement variadic generators for fusion::vector.
2015-06-28 01:15:51 +09:00
d937003962
Prepare implementing c++11 variadic based fusion::vector.
2015-06-28 01:15:51 +09:00
d5ce74dffd
Added move ctor/assign for c++11 fusion::list.
2015-06-24 15:26:33 +09:00
5cceded23b
Drop unnecessary specialization.
2015-06-23 08:56:58 +09:00
78c5228d93
Move internal type into private.
2015-06-23 00:37:24 +09:00
0e8e857c2f
Fix fusion::make_list return type.
2015-06-22 23:43:49 +09:00
d197380540
Implement C++11 list_tie.
2015-06-22 23:08:55 +09:00
3d0412bfd1
constexpr support for variadic list.
2015-06-22 23:08:55 +09:00