Ticket #1528: 0001-mpl-g-4.3-fix.patch

File 0001-mpl-g-4.3-fix.patch, 1.1 KB (added by tim blechmann <tim@…>, 15 years ago)

compile fix for g++-4.3

  • boost/mpl/zip_view.hpp

    From 902912000f991b385ba063496147cac4ba7b55c2 Mon Sep 17 00:00:00 2001
    From: Tim Blechmann <tim@klingt.org>
    Date: Sat, 2 Feb 2008 17:15:32 +0100
    Subject: [PATCH] mpl: g++-4.3 fix
    
    ---
     boost/mpl/zip_view.hpp |    6 +++---
     1 files changed, 3 insertions(+), 3 deletions(-)
    
    diff --git a/boost/mpl/zip_view.hpp b/boost/mpl/zip_view.hpp
    index ee13d03..98a0c7a 100644
    a b struct zip_iterator  
    3737    typedef zip_iterator<
    3838          typename transform1<
    3939                IteratorSeq
    40               , next<_1>
     40              , boost::mpl::next<_1>
    4141            >::type
    4242        > next;
    4343};
    template<  
    4848struct zip_view
    4949{
    5050 private:
    51     typedef typename transform1< Sequences, begin<_1> >::type first_ones_;
    52     typedef typename transform1< Sequences, end<_1> >::type last_ones_;
     51    typedef typename transform1< Sequences, boost::mpl::begin<_1> >::type first_ones_;
     52    typedef typename transform1< Sequences, boost::mpl::end<_1> >::type last_ones_;
    5353   
    5454 public:
    5555    typedef nested_begin_end_tag tag;