On 08/05/2011 09:10 PM, Jason Merrill wrote:
Paolo asked for GCC to allow deduction of auto from a variable-length
array. Since auto doesn't have the issues involved with normal
template deduction from VLAs (namely, the type not being link-time
constant), this seems reasonable to me.
Thanks!
Paolo asked for GCC to allow deduction of auto from a variable-length
array. Since auto doesn't have the issues involved with normal template
deduction from VLAs (namely, the type not being link-time constant),
this seems reasonable to me.
Tested x86_64-pc-linux-gnu, applying to trunk.
commit