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
http://www.saphirion.com
smarter | better | faster

Reply via email to