Hi,   
   
with Debian's gcc (version 4.0.2 20050913 (prerelease) (Debian 4.0.1-7)) this 
doesn't compile anymore: 
 
    const std::pair<int, int> p(1, 2); 
 
    int i, j; 
    boost::tie(i, j) = p; 
 
It works with all older versions and MSVC 7.1. 
 
 
Cheers, 
André

-- 
           Summary: boost::tie() = std::pair doesn't compile
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Woebbeking at web dot de
                CC: doko at cs dot tu-berlin dot de,gcc-bugs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23896

Reply via email to