Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53914 - in trunk/libs/fusion: . test/functional test/sequence
From: joel_at_[hidden]
Date: 2009-06-14 21:53:45


Author: djowel
Date: 2009-06-14 21:53:43 EDT (Sun, 14 Jun 2009)
New Revision: 53914
URL: http://svn.boost.org/trac/boost/changeset/53914

Log:
fix trac issue #1608
Added:
   trunk/libs/fusion/changelist.txt (contents, props changed)
Text files modified:
   trunk/libs/fusion/test/functional/invoke.cpp | 2 +-
   trunk/libs/fusion/test/sequence/as_list.cpp | 2 +-
   trunk/libs/fusion/test/sequence/as_map.cpp | 2 +-
   trunk/libs/fusion/test/sequence/as_set.cpp | 2 +-
   trunk/libs/fusion/test/sequence/as_vector.cpp | 2 +-
   trunk/libs/fusion/test/sequence/vector_n.cpp | 6 +++---
   6 files changed, 8 insertions(+), 8 deletions(-)

Added: trunk/libs/fusion/changelist.txt
==============================================================================
--- (empty file)
+++ trunk/libs/fusion/changelist.txt 2009-06-14 21:53:43 EDT (Sun, 14 Jun 2009)
@@ -0,0 +1,5 @@
+Interface Changes
+
+- June 12, 2009: vector0 is now vector0<> as per Boost Trac Ticket #1608
+ to follow MPL more closely.
+

Modified: trunk/libs/fusion/test/functional/invoke.cpp
==============================================================================
--- trunk/libs/fusion/test/functional/invoke.cpp (original)
+++ trunk/libs/fusion/test/functional/invoke.cpp 2009-06-14 21:53:43 EDT (Sun, 14 Jun 2009)
@@ -340,7 +340,7 @@
     using boost::is_same;
 
     BOOST_TEST(( is_same<
- fusion::result_of::invoke<int (*)(), fusion::vector0 >::type, int
+ fusion::result_of::invoke<int (*)(), fusion::vector0<> >::type, int
>::value ));
 // disabled until boost::result_of supports it
 // BOOST_TEST(( is_same<

Modified: trunk/libs/fusion/test/sequence/as_list.cpp
==============================================================================
--- trunk/libs/fusion/test/sequence/as_list.cpp (original)
+++ trunk/libs/fusion/test/sequence/as_list.cpp 2009-06-14 21:53:43 EDT (Sun, 14 Jun 2009)
@@ -26,7 +26,7 @@
     std::cout << tuple_delimiter(", ");
 
     {
- vector0 empty;
+ vector0<> empty;
         std::cout << as_list(make_vector(1, 1.23, "harru")) << std::endl;
         std::cout << as_list(push_back(empty, 999)) << std::endl;
 

Modified: trunk/libs/fusion/test/sequence/as_map.cpp
==============================================================================
--- trunk/libs/fusion/test/sequence/as_map.cpp (original)
+++ trunk/libs/fusion/test/sequence/as_map.cpp 2009-06-14 21:53:43 EDT (Sun, 14 Jun 2009)
@@ -28,7 +28,7 @@
     std::cout << tuple_delimiter(", ");
 
     {
- vector0 empty;
+ vector0<> empty;
         std::cout << as_map(make_list(make_pair<int>('X'), make_pair<double>("Men"))) << std::endl;
         std::cout << as_map(push_back(empty, make_pair<int>(999))) << std::endl;
     }

Modified: trunk/libs/fusion/test/sequence/as_set.cpp
==============================================================================
--- trunk/libs/fusion/test/sequence/as_set.cpp (original)
+++ trunk/libs/fusion/test/sequence/as_set.cpp 2009-06-14 21:53:43 EDT (Sun, 14 Jun 2009)
@@ -29,7 +29,7 @@
     std::cout << tuple_delimiter(", ");
 
     {
- vector0 empty;
+ vector0<> empty;
         std::cout << as_set(make_list(1, 1.23, "harru")) << std::endl;
         std::cout << as_set(push_back(empty, 999)) << std::endl;
         

Modified: trunk/libs/fusion/test/sequence/as_vector.cpp
==============================================================================
--- trunk/libs/fusion/test/sequence/as_vector.cpp (original)
+++ trunk/libs/fusion/test/sequence/as_vector.cpp 2009-06-14 21:53:43 EDT (Sun, 14 Jun 2009)
@@ -27,7 +27,7 @@
     std::cout << tuple_delimiter(", ");
 
     {
- vector0 empty;
+ vector0<> empty;
         std::cout << as_vector(make_list(1, 1.23, "harru")) << std::endl;
         std::cout << as_vector(push_back(empty, 999)) << std::endl;
         

Modified: trunk/libs/fusion/test/sequence/vector_n.cpp
==============================================================================
--- trunk/libs/fusion/test/sequence/vector_n.cpp (original)
+++ trunk/libs/fusion/test/sequence/vector_n.cpp 2009-06-14 21:53:43 EDT (Sun, 14 Jun 2009)
@@ -33,10 +33,10 @@
     using namespace std;
 
     {
- vector0 vec;
+ vector0<> vec;
         (void) vec;
         cout << "(): " << sizeof(vec) << endl;
- cout << (boost::is_empty<vector0>::value ? "is empty" : "is not empty") << endl;
+ cout << (boost::is_empty<vector0<> >::value ? "is empty" : "is not empty") << endl;
     }
 
     {
@@ -207,7 +207,7 @@
     
     {
         // testing copy and assign from a view
- vector0 empty;
+ vector0<> empty;
         fusion::vector2<int, long> v(fusion::push_back(fusion::push_back(empty, 123), 456));
         BOOST_TEST(at_c<0>(v) == 123);
         BOOST_TEST(at_c<1>(v) == 456);


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