forked from boostorg/fusion
adapted/array is now using iterator_facade
[SVN r35317]
This commit is contained in:
@ -13,6 +13,8 @@
|
||||
|
||||
namespace boost { namespace fusion
|
||||
{
|
||||
// Special tags:
|
||||
struct iterator_facade_tag; // iterator facade tag
|
||||
struct array_iterator_tag; // boost::array iterator tag
|
||||
struct mpl_iterator_tag; // mpl sequence iterator tag
|
||||
struct std_pair_iterator_tag; // std::pair iterator tag
|
||||
@ -26,6 +28,13 @@ namespace boost { namespace fusion
|
||||
struct apply {};
|
||||
};
|
||||
|
||||
template <>
|
||||
struct value_of_impl<iterator_facade_tag>
|
||||
{
|
||||
template <typename Iterator>
|
||||
struct apply : Iterator::template value_of<Iterator> {};
|
||||
};
|
||||
|
||||
template <>
|
||||
struct value_of_impl<array_iterator_tag>;
|
||||
|
||||
|
Reference in New Issue
Block a user