On Wed, Dec 5, 2012 at 6:07 PM, Jordan Rose <span dir="ltr"><<a href="mailto:jordan_rose@apple.com" target="_blank">jordan_rose@apple.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If you want checking of array parameter bounds, you have to say "double arg[static 4]".<br></blockquote><div><br></div><div>Given that that's a C-only feature, it wouldn't seem unreasonable to also provide a warning for the non-static case (for use in C++). You can use 'const double (&arg)[4]' in C++, but that doesn't allow arrays larger than 4 elements.</div>
</div>