scope and delete are being removed, but not type-safe variadic templates?

2011-01-31 Thread %u
Hi, I just realized something: If the delete keyword is being removed because it's dangerous, and if the scope storage class is being removed because of the same dangling reference problem, how come int[] global_var; void foo(int[] args...) { global_var = args; } isn't considered to be

Re: scope and delete are being removed, but not type-safe variadic templates?

2011-01-31 Thread spir
On 01/31/2011 11:10 AM, %u wrote: Hi, I just realized something: If the delete keyword is being removed because it's dangerous, and if the scope storage class is being removed because of the same dangling reference problem, how come int[] global_var; void foo(int[] args...) {

Re: scope and delete are being removed, but not type-safe variadic templates?

2011-01-31 Thread Steven Schveighoffer
On Mon, 31 Jan 2011 14:15:18 -0500, spir denis.s...@gmail.com wrote: On 01/31/2011 11:10 AM, %u wrote: Hi, I just realized something: If the delete keyword is being removed because it's dangerous, and if the scope storage class is being removed because of the same dangling reference