[Cs3] range-based for loops do not work with our compilers

Dianne Foreback dforebac at kent.edu
Fri Mar 21 16:45:42 EDT 2014


Hello CS3:

Per lab today, the use of auto for range-based for loops does not work with
the compilers on neptune or poseidon.  So, do not use this for our CS3
projects this semester.  As always, test and compile your code on our
servers.

Example that does NOT work:

for(auto it=intVector.cbegin(); it != intVector.cend(); ++it)

Kind Regards,
Dianne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://listmail.cs.kent.edu/pipermail/cs3/attachments/20140321/d74eb550/attachment.html 


More information about the cs3 mailing list