1
0
forked from boostorg/mpl

MPL: merge fix for ticket #1992

[SVN r61591]
This commit is contained in:
Aleksey Gurtovoy
2010-04-26 21:31:09 +00:00
parent 31a2c78a5a
commit c5621d99cd
2 changed files with 7 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
#ifndef BOOST_MPL_ZIP_VIEW_HPP_INCLUDED
#define BOOST_MPL_ZIP_VIEW_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2002
// Copyright Aleksey Gurtovoy 2000-2010
// Copyright David Abrahams 2000-2002
//
// Distributed under the Boost Software License, Version 1.0.
@@ -53,6 +53,7 @@ struct zip_view
public:
typedef nested_begin_end_tag tag;
typedef zip_view type;
typedef zip_iterator<first_ones_> begin;
typedef zip_iterator<last_ones_> end;
};

View File

@@ -1,5 +1,5 @@
// Copyright Aleksey Gurtovoy 2002-2004
// Copyright Aleksey Gurtovoy 2002-2010
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
@@ -25,6 +25,8 @@
#include <boost/mpl/aux_/test.hpp>
#include <boost/type_traits/is_same.hpp>
MPL_TEST_CASE()
{
@@ -38,4 +40,6 @@ MPL_TEST_CASE()
, filter_view< range_c<int,10,30>, is_even<_> >
, equal_to<_,_>
> ));
MPL_ASSERT(( boost::is_same< zip_view<vector<> >, zip_view<vector<> >::type > ));
}