{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/variant/issues/89","labels_url":"https://api.github.com/repos/mapbox/variant/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/variant/issues/89/comments","events_url":"https://api.github.com/repos/mapbox/variant/issues/89/events","html_url":"https://github.com/mapbox/variant/issues/89","id":130434121,"number":89,"title":"Base recursive_wrapper implementation on std::unique_ptr","user":{"login":"tomilov","id":896175,"avatar_url":"https://avatars.githubusercontent.com/u/896175?v=3","gravatar_id":"","url":"https://api.github.com/users/tomilov","html_url":"https://github.com/tomilov","followers_url":"https://api.github.com/users/tomilov/followers","following_url":"https://api.github.com/users/tomilov/following{/other_user}","gists_url":"https://api.github.com/users/tomilov/gists{/gist_id}","starred_url":"https://api.github.com/users/tomilov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomilov/subscriptions","organizations_url":"https://api.github.com/users/tomilov/orgs","repos_url":"https://api.github.com/users/tomilov/repos","events_url":"https://api.github.com/users/tomilov/events{/privacy}","received_events_url":"https://api.github.com/users/tomilov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-01T17:56:53Z","updated_at":"2016-02-02T13:44:57Z","closed_at":null,"body":"It is simpler to design `recursive_wrapper` as \"wrapper\" over ready-to-use to RAII `std::unique_ptr`. Just add value semantics ([example](https://github.com/tomilov/variant/blob/master/include/versatile/recursive_wrapper.hpp))."},"comment":{"url":"https://api.github.com/repos/mapbox/variant/issues/comments/178579557","html_url":"https://github.com/mapbox/variant/issues/89#issuecomment-178579557","issue_url":"https://api.github.com/repos/mapbox/variant/issues/89","id":178579557,"user":{"login":"artemp","id":59056,"avatar_url":"https://avatars.githubusercontent.com/u/59056?v=3","gravatar_id":"","url":"https://api.github.com/users/artemp","html_url":"https://github.com/artemp","followers_url":"https://api.github.com/users/artemp/followers","following_url":"https://api.github.com/users/artemp/following{/other_user}","gists_url":"https://api.github.com/users/artemp/gists{/gist_id}","starred_url":"https://api.github.com/users/artemp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artemp/subscriptions","organizations_url":"https://api.github.com/users/artemp/orgs","repos_url":"https://api.github.com/users/artemp/repos","events_url":"https://api.github.com/users/artemp/events{/privacy}","received_events_url":"https://api.github.com/users/artemp/received_events","type":"User","site_admin":false},"created_at":"2016-02-02T13:44:56Z","updated_at":"2016-02-02T13:44:56Z","body":"> One other thing to keep in mind: The implementation of recursive_wrapper was basically taken wholesale from boost, just ported to C++11. Keeping compatibility with boost is one of our goals here.\r\n\r\nCorrect ^ . Our `recursive_wrapper` as complete as boost one in this regard.\r\n\r\nIf we can alias `std::unique_ptr` to `recursive_wrapper` and performance is not an issue than, yes, by all means lets do it. Not a priority for https://github.com/mapbox/variant/milestones/1.1.0 though. \r\n/cc @joto @tomilov @lightmare "}}