streaming redux

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Dec 28 22:55:29 PST 2010


On 12/28/10 6:14 PM, Michel Fortin wrote:
> On 2010-12-28 18:58:40 -0500, Sean Kelly <sean at invisibleduck.org> said:
>
>> Michel Fortin Wrote:
>>> The only thing is that you need to define
>>> writeTo (or use the mixin) with any class and subclass you want to
>>> serialize.
>>
>> Similar to what I did in C++ then. Gotcha.
>
> I never pretended I had overcome the problem of the lack of runtime
> reflection. Without better runtime reflection, we're limited in many
> ways just like C++ is.

After some thought, I think we should confine the charter of the current 
library like this:

* Transport only transports untyped bits

* Formatter only formats primitive types

We will build more sophisticated superstructure on top of these, but 
let's not embellish Formatter too much right now.


Andrei


More information about the Digitalmars-d mailing list