Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49777 - trunk/libs/fusion/test/sequence
From: joel_at_[hidden]
Date: 2008-11-15 19:59:43


Author: djowel
Date: 2008-11-15 19:59:42 EST (Sat, 15 Nov 2008)
New Revision: 49777
URL: http://svn.boost.org/trac/boost/changeset/49777

Log:
changed as_vector to return the numbered forms (i.e. vectorN)
Text files modified:
   trunk/libs/fusion/test/sequence/zip_view.cpp | 6 +++---
   trunk/libs/fusion/test/sequence/zip_view2.cpp | 6 +++---
   2 files changed, 6 insertions(+), 6 deletions(-)

Modified: trunk/libs/fusion/test/sequence/zip_view.cpp
==============================================================================
--- trunk/libs/fusion/test/sequence/zip_view.cpp (original)
+++ trunk/libs/fusion/test/sequence/zip_view.cpp 2008-11-15 19:59:42 EST (Sat, 15 Nov 2008)
@@ -2,7 +2,7 @@
     Copyright (c) 2001-2006 Joel de Guzman
     Copyright (c) 2006 Dan Marsden
 
- Distributed under the Boost Software License, Version 1.0. (See accompanying
+ Distributed under the Boost Software License, Version 1.0. (See accompanying
     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 ==============================================================================*/
 #include <boost/detail/lightweight_test.hpp>
@@ -58,8 +58,8 @@
 
         BOOST_STATIC_ASSERT((boost::fusion::result_of::distance<boost::fusion::result_of::begin<view>::type, boost::fusion::result_of::end<view>::type>::value == 2));
 
- BOOST_MPL_ASSERT((boost::is_same<boost::fusion::result_of::value_at_c<view,0>::type, vector<int,char> >));
- BOOST_MPL_ASSERT((boost::is_same<boost::fusion::result_of::value_of<boost::fusion::result_of::begin<view>::type>::type, vector<int,char> >));
+ BOOST_MPL_ASSERT((boost::is_same<boost::fusion::result_of::value_at_c<view,0>::type, vector2<int,char> >));
+ BOOST_MPL_ASSERT((boost::is_same<boost::fusion::result_of::value_of<boost::fusion::result_of::begin<view>::type>::type, vector2<int,char> >));
     }
     {
         using namespace boost;

Modified: trunk/libs/fusion/test/sequence/zip_view2.cpp
==============================================================================
--- trunk/libs/fusion/test/sequence/zip_view2.cpp (original)
+++ trunk/libs/fusion/test/sequence/zip_view2.cpp 2008-11-15 19:59:42 EST (Sat, 15 Nov 2008)
@@ -2,7 +2,7 @@
     Copyright (c) 2001-2006 Joel de Guzman
     Copyright (c) 2006 Dan Marsden
 
- Distributed under the Boost Software License, Version 1.0. (See accompanying
+ Distributed under the Boost Software License, Version 1.0. (See accompanying
     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 ==============================================================================*/
 #include <boost/detail/lightweight_test.hpp>
@@ -57,8 +57,8 @@
         BOOST_TEST(distance(begin(v), end(v)) == 2);
         BOOST_STATIC_ASSERT((boost::fusion::result_of::distance<boost::fusion::result_of::begin<view>::type, boost::fusion::result_of::end<view>::type>::value == 2));
 
- BOOST_MPL_ASSERT((boost::is_same<boost::fusion::result_of::value_at_c<view,0>::type, vector<int,char,char> >));
- BOOST_MPL_ASSERT((boost::is_same<boost::fusion::result_of::value_of<boost::fusion::result_of::begin<view>::type>::type, vector<int,char,char> >));
+ BOOST_MPL_ASSERT((boost::is_same<boost::fusion::result_of::value_at_c<view,0>::type, vector3<int,char,char> >));
+ BOOST_MPL_ASSERT((boost::is_same<boost::fusion::result_of::value_of<boost::fusion::result_of::begin<view>::type>::type, vector3<int,char,char> >));
     }
     return boost::report_errors();
 }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk