Commit Graph

16 Commits

Author SHA1 Message Date
908a34a4ed Tweak sequence intrinsic at
A bit clearer and slightly less work for the inliner
2018-11-01 02:01:15 +03:00
d29dc277e6 Renaming No-bounds concept to Unbounded concept. 2015-06-25 22:42:44 +09:00
1e21a4eb7a Add new traits named has_no_bounds.
It is for special usecase: some thing like a window function.
This commit relative to c9ae4fc886 .
Users who wants to access out-of-bounds of sequence, specify new
category to it.

    struct sequence {
        struct category
            : fusion::random_access_traversal_tag
            , fusion::no_bounds_tag {};
        ...
    };

All of bounds related intrinsics of the /no-bounds-sequence/ *should*
guarantee to be well-defined or SFINAE-friendly, or compile error.
2015-06-23 09:44:03 +09:00
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
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
c4f9f0d1b6 gpu-enable functions 2014-01-22 23:55:53 -08:00
b905aa11af Added adapter for std::tuple (only for implementations using variadic templates)
[SVN r74788]
2011-10-08 03:47:16 +00:00
0e7a013851 Bumped copyright date
[SVN r74407]
2011-09-16 05:30:23 +00:00
528ad04fdb baking segmented Fusion
[SVN r73854]
2011-08-17 18:53:56 +00:00
5eb9c03cd2 adapt plain old array types (1)
[SVN r59576]
2010-02-07 18:22:06 +00:00
f0b6c8b1e2 Fusion: added explicit disambiguation for fusion::at
[SVN r53029]
2009-05-15 15:28:34 +00:00
92e7e32ed8 update copyright notice
[SVN r37131]
2007-03-02 10:44:14 +00:00
3f27fbe969 support for boost::tuples
[SVN r35350]
2006-09-27 00:42:32 +00:00
654fd0918e prelude to iterator_facade and sequence_facade
[SVN r35316]
2006-09-25 08:37:16 +00:00
a37b435ce6 ODR safe code
[SVN r35275]
2006-09-22 13:39:27 +00:00
75b9d13a88 Initial move from Spirit CVS
[SVN r34896]
2006-08-16 16:50:52 +00:00