Re: Deprecation: std.container.array.RangeT(A) is not visible from module Size

2017-09-11 Thread Vino.B via Digitalmars-d-learn
On Monday, 11 September 2017 at 08:55:21 UTC, Vino.B wrote: On Sunday, 10 September 2017 at 23:10:20 UTC, Ali Çehreli wrote: On 09/10/2017 09:53 AM, Vino.B wrote: > auto coSizeDirList (string FFs, int SizeDir) { > //alias DirSizeList = typeof(coSizeDirList()); I worked with a version of coSiz

Re: Deprecation: std.container.array.RangeT(A) is not visible from module Size

2017-09-11 Thread Vino.B via Digitalmars-d-learn
On Sunday, 10 September 2017 at 23:10:20 UTC, Ali Çehreli wrote: On 09/10/2017 09:53 AM, Vino.B wrote: > auto coSizeDirList (string FFs, int SizeDir) { > //alias DirSizeList = typeof(coSizeDirList()); I worked with a version of coSizeDirList() that did not take any parameters. (Could be from

Re: Deprecation: std.container.array.RangeT(A) is not visible from module Size

2017-09-10 Thread Ali Çehreli via Digitalmars-d-learn
On 09/10/2017 09:53 AM, Vino.B wrote: > auto coSizeDirList (string FFs, int SizeDir) { > //alias DirSizeList = typeof(coSizeDirList()); I worked with a version of coSizeDirList() that did not take any parameters. (Could be from an earlier post of yours.) In this case, you can must use a comp

Re: Deprecation: std.container.array.RangeT(A) is not visible from module Size

2017-09-10 Thread Vino.B via Digitalmars-d-learn
On Sunday, 10 September 2017 at 15:46:46 UTC, Ali Çehreli wrote: On 09/10/2017 04:54 AM, Vino.B wrote: > Thank you very much, as stated by you i used the auto function and now > i am get the output without any warnings That's because now you're taking advantage of D's type inference. Although

Re: Deprecation: std.container.array.RangeT(A) is not visible from module Size

2017-09-10 Thread Ali Çehreli via Digitalmars-d-learn
On 09/10/2017 04:54 AM, Vino.B wrote: > Thank you very much, as stated by you i used the auto function and now > i am get the output without any warnings That's because now you're taking advantage of D's type inference. Although it doesn't cover the entire story, you may want to read about D's

Re: Deprecation: std.container.array.RangeT(A) is not visible from module Size

2017-09-10 Thread Vino.B via Digitalmars-d-learn
On Friday, 8 September 2017 at 23:48:14 UTC, Ali Çehreli wrote: On 09/08/2017 11:21 AM, Vino.B wrote: > One final help on how to print the below > output , just in case if this issue is fixed in next release, > > Output: > [Tuple!string("C:\\Temp\\sapnas2\\BACKUP\\dir1"), > Tuple!string("C:\\Tem

Re: Deprecation: std.container.array.RangeT(A) is not visible from module Size

2017-09-08 Thread Ali Çehreli via Digitalmars-d-learn
On 09/08/2017 11:21 AM, Vino.B wrote: > One final help on how to print the below > output , just in case if this issue is fixed in next release, > > Output: > [Tuple!string("C:\\Temp\\sapnas2\\BACKUP\\dir1"), > Tuple!string("C:\\Temp\\sapnas2\\BACKUP\\DND5")][34, 4] > > Required output: > C:\\Tem

Re: Deprecation: std.container.array.RangeT(A) is not visible from module Size

2017-09-08 Thread Vino.B via Digitalmars-d-learn
On Friday, 8 September 2017 at 16:58:35 UTC, Ali Çehreli wrote: On 09/08/2017 07:48 AM, Vino.B wrote: > if > std.container.array.RangeT(A) is deprecated No, it's not deprecated. It's a private symbol of the std.container.array module. You shouldn't be able to use it at all. The fact that you

Re: Deprecation: std.container.array.RangeT(A) is not visible from module Size

2017-09-08 Thread Ali Çehreli via Digitalmars-d-learn
On 09/08/2017 07:48 AM, Vino.B wrote: > if > std.container.array.RangeT(A) is deprecated No, it's not deprecated. It's a private symbol of the std.container.array module. You shouldn't be able to use it at all. The fact that you are able to use it is due to a bug fix, which hasn't been fully

Re: Deprecation: std.container.array.RangeT(A) is not visible from module Size

2017-09-08 Thread Vino.B via Digitalmars-d-learn
this. Warning : Size.d(10): Deprecation: std.container.array.RangeT(A) is not visible from module Size Size.d(10): Deprecation: std.container.array.RangeT(A) is not visible from module Size Size.d(10): Deprecation: std.container.array.RangeT(A) is not visible from module Size Size.d(10): Deprec

Re: Deprecation: std.container.array.RangeT(A) is not visible from module Size

2017-09-08 Thread Vino.B via Digitalmars-d-learn
geT(A) is not visible from module Size Size.d(10): Deprecation: std.container.array.RangeT(A) is not visible from module Size Size.d(10): Deprecation: std.container.array.RangeT(A) is not visible from module Size Size.d(10): Deprecation: std.container.array.RangeT(A) is not visible from module

Deprecation: std.container.array.RangeT(A) is not visible from module Size

2017-09-08 Thread Vino.B via Digitalmars-d-learn
Hi All, The below code output's the below warning, so if std.container.array.RangeT(A) is deprecated then what is the equivalent for this, request your help on this. Warning : Size.d(10): Deprecation: std.container.array.RangeT(A) is not visible from module Size Size.d(10): Deprec