Boost logo

Boost Users :

Subject: [Boost-users] [boost users][tuple] foreach problem resolved
From: Oliver Kania (kania.oliver_at_[hidden])
Date: 2009-08-04 03:00:18


Sry for the trouble folks. This is actually documented:
one solution is to predeclare the loop variable :

    tpl<int,int> i_pair;
    //4. for both the right and the left spike, get the biggest set.
    foreach (i_pair, l_listLeftLines)
    {
       ...
    }

best regards, Oliver



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net