Re: Deprecation: std.stdio.File.ByChunkImpl is not visible

2019-12-24 Thread psyscout via Digitalmars-d-learn
Many thanks H. S. Teoh! It works!

Re: Deprecation: std.stdio.File.ByChunkImpl is not visible

2019-12-23 Thread H. S. Teoh via Digitalmars-d-learn
On Tue, Dec 24, 2019 at 12:33:34AM +, psyscout via Digitalmars-d-learn wrote: [...] > auto putObjectRequest(string bucket, string key, string file) > { > import std.stdio : File; > > enum chunk_size = 16 * 1024; // 16 KiB > auto file_ = File(file, "r"); > > return Put

Deprecation: std.stdio.File.ByChunkImpl is not visible

2019-12-23 Thread psyscout via Digitalmars-d-learn
Hi all, I'm trying to resolve a Deprecation message. File.ByChunkImpl is private which cause a compiler message. Any clue how to to deal with this? (Deprecation: std.stdio.File.ByChunkImpl is not visible) struct PutObjectRequest(Range) if (isInputRange!Range && is(Elem