On 2013-11-12 23:45, Andrei Alexandrescu wrote:
It's not quite trivial - somewhere there has to be a map and registration and lookup and whatnot. I don't see it why it's unbecoming for such functionality to be part of the standard library. I would agree, however, that it's a judgment call whether it should be wired in or provided on demand.
From a (de)serialization point of view, I like that it's not necessary to register every class that should be (de)serialized.
-- /Jacob Carlborg
