This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Implementing "restrict", and other alias questions


On Sun, Dec 28, 1997 at 09:17:37PM +0100, Martin von Loewis wrote:
> struct foo{
>   struct foo * restrict next;
>   int value;
> };
> 
> Again, the implementation is free to ignore the declaration - it
> should not reject it.

I agree that this is the proper attitude to take.

> Another issue is references: Is
> 
>   void f(class C restrict &);
> 
> valid. If so, how does restrict interfere with function overloading?

In the same way that `register' interferes, that is, not at all.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]