Hi Dan, first last <armz4pxq at gmail.com> writes: > How can I make persistent a class that has as a member a pointer to an > abstract class. > > class employer { > > shared_ptr<person> employee; // this can be either an operator or a programmer > > } By using polymorphic inheritance (Section 8.2 in the manual). Boris