|
Boost Users : |
Subject: Re: [Boost-users] [boost users][tuple] foreach with tuple
From: Igor R (boost.lists_at_[hidden])
Date: 2009-08-04 11:54:23
> It is a bit of a pain to have to resort to the typedef. Because I iterate over std::maps quite a lot
Ok, I see... But from the other hand, using containers' inner types
helps to ensure that you use the correct type and to avoide stupid
bugs like this:
http://www.nabble.com/-boost-users--lambda--crash-in-std::for_each-td21806650.html
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