{"comment":{"url":"https://api.github.com/repos/jokva/ert/comments/15783960","html_url":"https://github.com/jokva/ert/commit/eecb2637d3dc14300b36457326ddca08adf3f24f#commitcomment-15783960","id":15783960,"user":{"login":"joakim-hove","id":1321665,"avatar_url":"https://avatars.githubusercontent.com/u/1321665?v=3","gravatar_id":"","url":"https://api.github.com/users/joakim-hove","html_url":"https://github.com/joakim-hove","followers_url":"https://api.github.com/users/joakim-hove/followers","following_url":"https://api.github.com/users/joakim-hove/following{/other_user}","gists_url":"https://api.github.com/users/joakim-hove/gists{/gist_id}","starred_url":"https://api.github.com/users/joakim-hove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joakim-hove/subscriptions","organizations_url":"https://api.github.com/users/joakim-hove/orgs","repos_url":"https://api.github.com/users/joakim-hove/repos","events_url":"https://api.github.com/users/joakim-hove/events{/privacy}","received_events_url":"https://api.github.com/users/joakim-hove/received_events","type":"User","site_admin":false},"position":31,"line":31,"path":"devel/libeclxx/include/ert/ecl/Smspec.hpp","commit_id":"eecb2637d3dc14300b36457326ddca08adf3f24f","created_at":"2016-01-31T06:33:21Z","updated_at":"2016-01-31T06:33:21Z","body":"Hmm - excuse my ignorance; but this I do not fully understand:\r\n\r\n1. `struct deleter` - is that a C++ construction I should know of?\r\n2. Where did `operator()` come from?\r\n\r\nIn the ert library there is a 100% rule creating typedefs as:\r\n```\r\ntypedef struct some_struct some_type;\r\n```\r\ni.e. the `struct smspec_node_struct` is available as `smspec_node_type` - using that I would assume the private part of the class could be written:\r\n\r\n```C++\r\nprivate:\r\n     std::unique_ptr< smspec_node_type , smspec_node_free> node;\r\n```"}}