> Requiring a default constructor is a mistake. For one thing there are often reasons not to provide a default constructor. For > another, when serializing we might want different behavior. Provide a factory method instead. > > Question, do classes without default constructors must be serializable -- if so, I would add this to my list of must have changes.
save_ptr facility cover provide a way to handle non-default constructible class case Gennadiy. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost