Sébastien Loriot
d60f5645aa
replace BOOST_FOREACH by c++ ranged-based for loop
some of the command used for the replacement:
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\(([a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\((const [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\((const typename [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\((typename [<>a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack "boost/foreach.hpp" -l --cpp | xargs sed -i '/boost\/foreach.hpp>/d'
2019-03-29 13:22:15 +01:00
..
2019-03-29 13:22:15 +01:00
2018-01-18 16:25:50 +00:00
2018-01-18 16:25:50 +00:00
2018-01-18 16:25:50 +00:00
2018-01-18 16:25:50 +00:00
2018-02-13 14:02:40 +00:00
2018-01-18 16:25:50 +00:00
2018-01-18 16:25:50 +00:00
2018-01-18 16:25:50 +00:00
2018-01-18 16:25:50 +00:00
2018-01-18 16:25:50 +00:00