Re: depreciated function delete

2019-01-18 Thread Ali via Digitalmars-d-learn
On Friday, 18 January 2019 at 21:37:38 UTC, Steven Schveighoffer wrote: On 1/18/19 4:32 PM, Ali wrote: On Friday, 18 January 2019 at 21:13:34 UTC, Steven Schveighoffer wrote: On 1/18/19 3:48 PM, alik wrote: Hi there. as you know delete function is depreciated. so I tried to use the __delete

Re: depreciated function delete

2019-01-18 Thread Steven Schveighoffer via Digitalmars-d-learn
On 1/18/19 4:32 PM, Ali wrote: On Friday, 18 January 2019 at 21:13:34 UTC, Steven Schveighoffer wrote: On 1/18/19 3:48 PM, alik wrote: Hi there. as you know delete function is depreciated. so I tried to use the __delete function for the code below: if (this.parse_buffer.length >

Re: depreciated function delete

2019-01-18 Thread Ali via Digitalmars-d-learn
On Friday, 18 January 2019 at 21:13:34 UTC, Steven Schveighoffer wrote: On 1/18/19 3:48 PM, alik wrote: Hi there. as you know delete function is depreciated. so I tried to use the __delete function for the code below: if (this.parse_buffer.length > this.parse_size)     {

Re: depreciated function delete

2019-01-18 Thread Steven Schveighoffer via Digitalmars-d-learn
On 1/18/19 3:48 PM, alik wrote: Hi there. as you know delete function is depreciated. so I tried to use the __delete function for the code below: if (this.parse_buffer.length > this.parse_size)     {     __delete(this.parse_buffer);    

depreciated function delete

2019-01-18 Thread alik via Digitalmars-d-learn
Hi there. as you know delete function is depreciated. so I tried to use the __delete function for the code below: if (this.parse_buffer.length > this.parse_size) { __delete(this.parse_buffer);