auto & class members

Robert M. Münch robert.muench at
Tue May 22 08:34:30 UTC 2018

On 2018-05-21 18:13:16 +0000, Ali ‡ehreli said:

> Templatized range types work well when they are used as template 
> arguments themselves.
> When you need to keep a single type like 'b' (i.e. b is not a 
> template), and when you need to set a variable like mySubStream to a 
> dynamic object, the solution is to use inputObject():
> ...

Thanks for the good example. The thing in my specific case is, that the 
streams are from a library, so no direct way to change their interface 
or so.

But anyway, the more background about the whole topic, the better.

Robert M. Münch
smarter | better | faster

More information about the Digitalmars-d-learn mailing list