1
0
forked from boostorg/mpl
[SVN r60888]
This commit is contained in:
Aleksey Gurtovoy
2010-03-28 14:23:38 +00:00
parent 38e0d6157f
commit 4678423fee
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 > ));
}