MC: range-loopify

Use C++11 range-based loops rather than explicit constructors.  NFC.