{"action":"opened","issue":{"url":"https://api.github.com/repos/paulftw/hiberlite/issues/13","labels_url":"https://api.github.com/repos/paulftw/hiberlite/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/paulftw/hiberlite/issues/13/comments","events_url":"https://api.github.com/repos/paulftw/hiberlite/issues/13/events","html_url":"https://github.com/paulftw/hiberlite/issues/13","id":60030103,"number":13,"title":"Does hiberlite handle inheritance?","user":{"login":"wtholliday","id":841144,"avatar_url":"https://avatars.githubusercontent.com/u/841144?v=3","gravatar_id":"","url":"https://api.github.com/users/wtholliday","html_url":"https://github.com/wtholliday","followers_url":"https://api.github.com/users/wtholliday/followers","following_url":"https://api.github.com/users/wtholliday/following{/other_user}","gists_url":"https://api.github.com/users/wtholliday/gists{/gist_id}","starred_url":"https://api.github.com/users/wtholliday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wtholliday/subscriptions","organizations_url":"https://api.github.com/users/wtholliday/orgs","repos_url":"https://api.github.com/users/wtholliday/repos","events_url":"https://api.github.com/users/wtholliday/events{/privacy}","received_events_url":"https://api.github.com/users/wtholliday/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-05T22:54:35Z","updated_at":"2015-03-05T22:54:35Z","closed_at":null,"body":"In my case I have a bunch of classes which inherit from a common base. Can hiberlite handle this? Specifically, can I do the following?\r\n\r\n```\r\nHIBERLITE_EXPORT_CLASS(Base);\r\nHIBERLITE_EXPORT_CLASS(Derived);\r\n```\r\n\r\nand then would `db.getAllBeans<Base>();` return all instances of Derived as well?\r\n\r\nI'm guessing the answer is no because bean_ptr doesn't seem to have the ability to do an upcast.\r\n\r\nThanks!"}}