Code formating for range-for
Posted: Mon Oct 08, 2012 11:21 am
Hello, I was wondering what has to be done to allow for proper code formating for "range-for" loops of C++11. Whenever I auto-format my code to ANSI-style, in lines containing the range-for statement all spaces before the actual for-statement a deleted. Is there an easy rule to be added for these statements in order to ensure proper formatting?
By the way, I am using svn rev. 5772.
Thanks for any help.
AndiB
By the way, I am using svn rev. 5772.
Thanks for any help.
AndiB