This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++0x patch] implement range-based for loops
On 8/27/10, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> in testcase range-for4.C you have some typos s/dependant/dependent.
Actually, according to http://www.tfd.com/dependant it is correct,
although since this word is not used in GCC it is better changed.
> Also, I don't think you really want to use printf, most likely you
> simply want asserts.
Agreed. I used printf because was easier to debug, but now assert
makes much more sense.
Rodrigo.