Re: __gc arrays

"Alex Stephens" <thorin1-bOv4yBwr/[email protected]>
Newsgroups gmane.comp.gnu.dotgnu.developer
Message-ID <[email protected]>
Rhys Weatherley <[email protected]> writes:

> That's probably a bug.  Please log it in Savannah so we don't forget about it.  
> Or better yet, have a look at the cscc code and try to fix it yourself and 
> submit a patch.  We definitely need more people working on the C compiler.

I'm not sure if the __box syntax is correct but I've logged it as a bug anyway. Also, I note MS has switched to using template classes for managed arrays in C++ now.

> Since it requires the programmer to take explicit action to use, I have never 
> really understood how it helps prevent sloppy programming.

I agree it doesn't prevent sloppy programming but it would prevent overflows leading to security problems since the program will just terminate with an exception.

Regards,
Alex Stephens
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.