Boost logo

Boost :

From: Ralf W. Grosse-Kunstleve (rwgk_at_[hidden])
Date: 2003-05-25 22:09:05


While compiling certain Boost.Python regression tests (e.g. args.cpp) gcc 3.3
complains about some typedefs being private. Attached is a trivial patch which
fixes the problem. OK to commit to CVS?
Thanks,
        Ralf

Index: joint_view.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/mpl/joint_view.hpp,v
retrieving revision 1.3
diff -u -r1.3 joint_view.hpp
--- joint_view.hpp 21 May 2003 13:39:09 -0000 1.3
+++ joint_view.hpp 26 May 2003 03:02:56 -0000
@@ -58,8 +58,6 @@
     friend struct size_traits< aux::joint_view_tag >::algorithm;
 # endif
 #endif
- typedef Sequence1_ sequence1;
- typedef Sequence2_ sequence2;
     
     typedef typename begin<Sequence1_>::type first1_;
     typedef typename end<Sequence1_>::type last1_;
@@ -67,6 +65,8 @@
     typedef typename end<Sequence2_>::type last2_;
 
  public:
+ typedef Sequence1_ sequence1;
+ typedef Sequence2_ sequence2;
     typedef aux::joint_view_tag tag;
     typedef typename aux::joint_iter<first1_,last1_,first2_> begin;
     typedef typename aux::joint_iter<last1_,last1_,last2_> end;

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk