I know type parameters cannot be pointers - ArrayList<int*> is not permitted - 
but I haven't been able to a definitive statement regarding whether pointers 
to the type of a parameter is permitted, e.g.

struct Pointer <T> {
        T* value;
}

Currently, gmcs will complain that it can't find the type "T*", but I would 
have thought it would be relatively easy to allow, given that the following 
is allowed.

struct Array <T> {
        T[] value;
}

Alan
_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to