{"action":"created","issue":{"url":"https://api.github.com/repos/idaholab/moose/issues/6495","repository_url":"https://api.github.com/repos/idaholab/moose","labels_url":"https://api.github.com/repos/idaholab/moose/issues/6495/labels{/name}","comments_url":"https://api.github.com/repos/idaholab/moose/issues/6495/comments","events_url":"https://api.github.com/repos/idaholab/moose/issues/6495/events","html_url":"https://github.com/idaholab/moose/pull/6495","id":138308830,"number":6495,"title":"Add C++11 test to prevent serialization of polymorphic types","user":{"login":"dschwen","id":202302,"avatar_url":"https://avatars.githubusercontent.com/u/202302?v=3","gravatar_id":"","url":"https://api.github.com/users/dschwen","html_url":"https://github.com/dschwen","followers_url":"https://api.github.com/users/dschwen/followers","following_url":"https://api.github.com/users/dschwen/following{/other_user}","gists_url":"https://api.github.com/users/dschwen/gists{/gist_id}","starred_url":"https://api.github.com/users/dschwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dschwen/subscriptions","organizations_url":"https://api.github.com/users/dschwen/orgs","repos_url":"https://api.github.com/users/dschwen/repos","events_url":"https://api.github.com/users/dschwen/events{/privacy}","received_events_url":"https://api.github.com/users/dschwen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-03-03T21:57:19Z","updated_at":"2016-03-04T00:29:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/idaholab/moose/pulls/6495","html_url":"https://github.com/idaholab/moose/pull/6495","diff_url":"https://github.com/idaholab/moose/pull/6495.diff","patch_url":"https://github.com/idaholab/moose/pull/6495.patch"},"body":"This adds a `static_assert` for _polymorphic types_, i.e. classes with vtables and prevents the use of the unspecialized `dataStore` function template for those. I'd love to add a check for _is trivially copyable_ as well, as this would error out when serializing structs that have members that store data on the heap etc.\r\nUnfortunately it complains about `libMesh::Point`, because this class implements a copy constructor (for no good reason as fat as I can see...). \r\n\r\nI could make exceptions for these types using `std::is_same`...\r\n\r\nCloses #6493"},"comment":{"url":"https://api.github.com/repos/idaholab/moose/issues/comments/192035182","html_url":"https://github.com/idaholab/moose/pull/6495#issuecomment-192035182","issue_url":"https://api.github.com/repos/idaholab/moose/issues/6495","id":192035182,"user":{"login":"dschwen","id":202302,"avatar_url":"https://avatars.githubusercontent.com/u/202302?v=3","gravatar_id":"","url":"https://api.github.com/users/dschwen","html_url":"https://github.com/dschwen","followers_url":"https://api.github.com/users/dschwen/followers","following_url":"https://api.github.com/users/dschwen/following{/other_user}","gists_url":"https://api.github.com/users/dschwen/gists{/gist_id}","starred_url":"https://api.github.com/users/dschwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dschwen/subscriptions","organizations_url":"https://api.github.com/users/dschwen/orgs","repos_url":"https://api.github.com/users/dschwen/repos","events_url":"https://api.github.com/users/dschwen/events{/privacy}","received_events_url":"https://api.github.com/users/dschwen/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T00:29:43Z","updated_at":"2016-03-04T00:29:43Z","body":"This compiles framework, all modules, and Marmot. I'll test a few more apps."}}