[PATCH] _Cilk_for for C and C++
Marek Polacek
polacek@redhat.com
Fri Jan 17 09:24:00 GMT 2014
On Thu, Jan 16, 2014 at 01:18:59PM -0800, Aldy Hernandez wrote:
> I'm not a C++ expert, but my understanding was that in C++ you don't
> need a typedef to use the following structure by name
> (cilk_for_information). So you can just declare "struct
> cilk_for_information {...}" and instantiate it with just
> "cilk_for_information some_instance". If that's the case, get rid
> of typedef.
Yes. That's what create_implicit_typedef does.
Marek
More information about the Gcc-patches
mailing list