Kohei Takahashi
687668c110
Fix sprious compile error on VS2015 Preview.
...
MSVC 2015 Preview will treat unary-ctor call as a variable declaration
even if member call follows, which member has the same name with any
other class (i.e. there are no relations between the member and such
class). This issue already reported at [1].
1. https://connect.microsoft.com/VisualStudio/feedback/details/1037783/unary-ctor-call-v-s-variable-decl
struct foo
{
foo(int) {}
void set() {}
};
struct set;
int main()
{
int i;
foo(i).set(); // VS2015 try to decl `i` here and conflict with above.
}
2014-11-24 03:07:16 +09:00
Joel de Guzman
c65000eac8
Merge pull request #41 from Flast/patch-2
...
`result_of::at<Seq, N>::type` is't defined when sizeof of sequence is less than N
2014-11-19 06:33:04 +08:00
Kohei Takahashi
c9ae4fc886
result_of::at<Seq, N>::type is't defined when sizeof of sequence is less than N, close #6507 , #7651
...
Original proposals suggest making as a hard error (by MPL asssert /
static assert), however this change just doesn't define due to
SFINAE-friendly.
2014-11-19 02:05:58 +09: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
Kohei Takahashi
465c3f273b
result_of::{copy,move,swap} are now SFINAE-friendly
2014-11-10 14:38:42 +09:00
Kohei Takahashi
6314f1a450
fusion::swap should be inline
2014-11-10 14:34:02 +09:00
Kohei Takahashi
ff56beaf55
Remove use of boost::blank, close #8622
2014-11-09 00:49:29 +09:00
Kohei Takahashi
a7e9bb2df4
Fix to meet constexpr requirements
2014-11-06 17:10:31 +09:00
Kohei Takahashi
bebd553dd6
Use BOOST_CXX14_CONSTEXPR instead of BOOST_CONSTEXPR.
...
Signed-off-by: Kohei Takahashi <flast@flast.jp >
2014-10-19 23:46:36 +09:00
gnzlbg
c2abefbab8
Initial constexpr support
...
This allows to use, e.g., boost::fusion::fold within constexpr functions.
The BOOST_CONSTEXPR macro is used to declare functions constexpr.
2014-08-06 11:09:40 +02:00
fiesh
70410d1e07
replaced tabs with 4 spaces
2014-07-24 14:45:45 +02:00
fiesh
f7685b1194
add automatic hash function creation
2014-07-24 14:22:55 +02:00
Eric Niebler
e113b31fdd
final gpu-enabling tweaks
2014-01-28 14:32:03 -08:00
Eric Niebler
e5b0f3c2e1
gpu-enable more functions, but not stream inserters and extractors
2014-01-23 21:30:18 -08:00
Eric Niebler
c4f9f0d1b6
gpu-enable functions
2014-01-22 23:55:53 -08:00
Joel de Guzman
de18e59c85
Fixes Ticket #7513
...
[SVN r86128]
2013-10-01 23:41:38 +00:00
Stephen Kelly
94618528b6
Remove use of obsolete BOOST_NO_TEMPLATED_STREAMS macro.
...
It was only defined for no-longer-supported-gcc.
[SVN r86062]
2013-09-30 15:56:52 +00:00
Michael Caisse
7922147716
update fusion Nil template parameters to Nil_ to make ObjC happy. trac #5010
...
[SVN r84441]
2013-05-23 01:02:52 +00:00
Joel de Guzman
6d265316ed
Workaround for ObjC (mis)use of nil (from Mathias Gaunard)
...
[SVN r81628]
2012-11-30 02:31:23 +00:00
Joel de Guzman
752f911a91
#7427 (Warning fixes in fusion)
...
[SVN r80812]
2012-10-02 01:12:19 +00:00
Joel de Guzman
8ce40ebd0c
Patch by Nathan Ridge to allow BOOST_FUSION_ADAPT_ADT adapted classes to be compared using relational operators.
...
[SVN r78490]
2012-05-17 01:10:20 +00:00
Joel de Guzman
a25a7092d8
Patches from Tim Blechmann
...
[SVN r75976]
2011-12-16 00:14:49 +00:00
Joel de Guzman
b905aa11af
Added adapter for std::tuple (only for implementations using variadic templates)
...
[SVN r74788]
2011-10-08 03:47:16 +00:00
Joel de Guzman
d1a397c427
Patch to make deriving from fusion::sequence_facade makes the derived class an MPL sequence by Nathan Ridge.
...
[SVN r74473]
2011-09-20 01:48:47 +00:00
Joel de Guzman
265bdc7342
Added default typedef mpl::false_ is_segmented;
...
[SVN r74427]
2011-09-17 03:14:12 +00:00
Joel de Guzman
0e7a013851
Bumped copyright date
...
[SVN r74407]
2011-09-16 05:30:23 +00:00
Eric Niebler
df6017dc1c
fix use of incomplete fusion::nil as caught by clang
...
[SVN r74019]
2011-08-23 15:13:30 +00:00
Eric Niebler
def510808d
bug fixes to segmented fusion support, more fwd headers
...
[SVN r73927]
2011-08-19 18:41:11 +00:00
Eric Niebler
b8bb98a36b
simplify segmented_fold_until interface
...
[SVN r73898]
2011-08-18 21:33:39 +00:00
Eric Niebler
9dd14c435e
make find and find_if algorithms segment-aware, stylistic consistency tweaks
...
[SVN r73892]
2011-08-18 17:12:05 +00:00
Eric Niebler
528ad04fdb
baking segmented Fusion
...
[SVN r73854]
2011-08-17 18:53:56 +00:00
Eric Niebler
2ccb8d604f
progress with integrating the segmented Fusion work
...
[SVN r73831]
2011-08-16 23:07:51 +00:00
Eric Niebler
afbda073a3
naming tweaks
...
[SVN r73771]
2011-08-15 06:53:35 +00:00
Eric Niebler
9ed1f3d606
use iterator_facade to simplify implementation of segmented_iterator
...
[SVN r73770]
2011-08-15 06:20:24 +00:00
Eric Niebler
d9c5b32687
new cleaner(?) implementation for segmented fusion
...
[SVN r73644]
2011-08-11 04:14:50 +00:00
Joel de Guzman
1efa444f24
renamed assign to copy and moved it to a new algorithm/auxiliary category
...
[SVN r69137]
2011-02-22 01:30:12 +00:00
Joel de Guzman
dc2303d38b
assign should be void
...
[SVN r69118]
2011-02-21 10:15:24 +00:00
Joel de Guzman
7bfe445d72
new assign intrinsic
...
[SVN r69113]
2011-02-21 01:08:53 +00:00
Ralf W. Grosse-Kunstleve
0521159fdc
sequence/comparison/less_equal.hpp: bug fix in code used only by Visual C++ 7.1 and 8.0
...
[SVN r68358]
2011-01-21 20:41:06 +00:00
Joel de Guzman
5129f45066
fix for VC8
...
[SVN r68323]
2011-01-20 19:57:20 +00:00
Joel de Guzman
7f3cd8b46a
putting is_native_fusion_sequence in is_sequence.hpp where it belongs.
...
[SVN r68259]
2011-01-19 00:10:13 +00:00
Joel de Guzman
1da53e2c3f
- hoisted enable_equality, enable_comparison and is_native_fusion_sequence to fusion::traits namespace
...
- added SFINAE-enable
(http://article.gmane.org/gmane.comp.parsers.spirit.devel/3902 )
[SVN r68225]
2011-01-18 12:49:01 +00:00
Christopher Schmidt
c15dd57405
Fusion: mask fusion::begin/fusion::end with SFINAE, fixes #4028
...
[SVN r67352]
2010-12-19 18:35:52 +00:00
Christopher Schmidt
b508b8e62c
Fusion: fixed missing is_native_fusion_sequence for MSVC 7.1 and MSVC 8.0
...
[SVN r66477]
2010-11-10 07:59:18 +00:00
Christopher Schmidt
6eba238b69
Fusion: removed fusion::sequence_root; Fixes #2335
...
[SVN r66411]
2010-11-06 12:21:18 +00:00
Steven Watanabe
c9a5364472
Clean up GCC warnings. Fixes #3033 .
...
[SVN r62869]
2010-06-12 17:59:10 +00:00
Steven Watanabe
7c986ebd61
Clean up MSVC build. Fixes #1619 . Fixes #3074 .
...
[SVN r62854]
2010-06-12 15:58:31 +00:00
Christopher Schmidt
e67765747d
better adapt structs/classes implementation
...
[SVN r59913]
2010-02-25 20:10:37 +00:00
Christopher Schmidt
5eb9c03cd2
adapt plain old array types (1)
...
[SVN r59576]
2010-02-07 18:22:06 +00:00
Hartmut Kaiser
03290abb85
Fusion: silenced a couple of MSVC warnings created during Spirit test runs
...
[SVN r57502]
2009-11-09 03:57:40 +00:00