C++1y: support range-based for loops in constant expressions.