{"action":"created","issue":{"url":"https://api.github.com/repos/libMesh/libmesh/issues/357","labels_url":"https://api.github.com/repos/libMesh/libmesh/issues/357/labels{/name}","comments_url":"https://api.github.com/repos/libMesh/libmesh/issues/357/comments","events_url":"https://api.github.com/repos/libMesh/libmesh/issues/357/events","html_url":"https://github.com/libMesh/libmesh/pull/357","id":43689786,"number":357,"title":"Update libMesh's AutoPtr class to a modern unique_ptr implementation","user":{"login":"jwpeterson","id":1775907,"avatar_url":"https://avatars.githubusercontent.com/u/1775907?v=3","gravatar_id":"","url":"https://api.github.com/users/jwpeterson","html_url":"https://github.com/jwpeterson","followers_url":"https://api.github.com/users/jwpeterson/followers","following_url":"https://api.github.com/users/jwpeterson/following{/other_user}","gists_url":"https://api.github.com/users/jwpeterson/gists{/gist_id}","starred_url":"https://api.github.com/users/jwpeterson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwpeterson/subscriptions","organizations_url":"https://api.github.com/users/jwpeterson/orgs","repos_url":"https://api.github.com/users/jwpeterson/repos","events_url":"https://api.github.com/users/jwpeterson/events{/privacy}","received_events_url":"https://api.github.com/users/jwpeterson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2014-09-23T21:59:27Z","updated_at":"2015-03-18T14:58:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/libMesh/libmesh/pulls/357","html_url":"https://github.com/libMesh/libmesh/pull/357","diff_url":"https://github.com/libMesh/libmesh/pull/357.diff","patch_url":"https://github.com/libMesh/libmesh/pull/357.patch"},"body":"(This is a follow-on to #335, it does not need to be merged before 1.0 is tagged.)\r\n\r\nThis branch defines a new `UniquePtr` type, and gracefully deprecates the old AutoPtr class using a new default configure option, `--disable-unique-ptr`.  When we are eventually ready to break backwards compatibility, we just need to change the default over to `--enable-unique-ptr`.\r\n\r\nI've tested this branch with MOOSE, which still uses `AutoPtr`, on OSX, and it works fine."},"comment":{"url":"https://api.github.com/repos/libMesh/libmesh/issues/comments/83010066","html_url":"https://github.com/libMesh/libmesh/pull/357#issuecomment-83010066","issue_url":"https://api.github.com/repos/libMesh/libmesh/issues/357","id":83010066,"user":{"login":"roystgnr","id":2367346,"avatar_url":"https://avatars.githubusercontent.com/u/2367346?v=3","gravatar_id":"","url":"https://api.github.com/users/roystgnr","html_url":"https://github.com/roystgnr","followers_url":"https://api.github.com/users/roystgnr/followers","following_url":"https://api.github.com/users/roystgnr/following{/other_user}","gists_url":"https://api.github.com/users/roystgnr/gists{/gist_id}","starred_url":"https://api.github.com/users/roystgnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roystgnr/subscriptions","organizations_url":"https://api.github.com/users/roystgnr/orgs","repos_url":"https://api.github.com/users/roystgnr/repos","events_url":"https://api.github.com/users/roystgnr/events{/privacy}","received_events_url":"https://api.github.com/users/roystgnr/received_events","type":"User","site_admin":false},"created_at":"2015-03-18T14:58:48Z","updated_at":"2015-03-18T14:58:48Z","body":"I was going to suggest that we put in an AutoPtr(UniquePtr) constructor for more backwards compatibility, but even that wouldn't be a total fix (attempting to subclass UniquePtr-based FunctionBase with an AutoPtr-based subclass is still an error).  The --disable-unique-ptr default-for-now will be good enough.\r\n\r\nThis is working for me.  I'd like to merge this afternoon unless anyone else has concerns."}}