codylico/munit-plus

Missing support for range-based for-loops in Visual Studio 2010

Closed this issue · 1 comments

The plan for this issue is to replace the range-based for loops in example.cpp with iterator-based loops.

From AppVeyor

example.cpp(415) : error C2143: syntax error : missing ',' before ':'
example.cpp(415) : error C2143: syntax error : missing ';' before '{'
example.cpp(416) : error C2143: syntax error : missing ',' before ':'
example.cpp(416) : error C2530: 'x' : references must be initialized
example.cpp(416) : error C2143: syntax error : missing ';' before '{'
example.cpp(417) : error C2143: syntax error : missing ',' before ':'
example.cpp(417) : error C2143: syntax error : missing ';' before '{'

Everything passed! Yay.