{"comment":{"url":"https://api.github.com/repos/TRIQS/triqs/comments/14429898","html_url":"https://github.com/TRIQS/triqs/commit/31927c91329e6b7c06f463d7bf4976773280333a#commitcomment-14429898","id":14429898,"user":{"login":"krivenko","id":1328321,"avatar_url":"https://avatars.githubusercontent.com/u/1328321?v=3","gravatar_id":"","url":"https://api.github.com/users/krivenko","html_url":"https://github.com/krivenko","followers_url":"https://api.github.com/users/krivenko/followers","following_url":"https://api.github.com/users/krivenko/following{/other_user}","gists_url":"https://api.github.com/users/krivenko/gists{/gist_id}","starred_url":"https://api.github.com/users/krivenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krivenko/subscriptions","organizations_url":"https://api.github.com/users/krivenko/orgs","repos_url":"https://api.github.com/users/krivenko/repos","events_url":"https://api.github.com/users/krivenko/events{/privacy}","received_events_url":"https://api.github.com/users/krivenko/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"31927c91329e6b7c06f463d7bf4976773280333a","created_at":"2015-11-16T23:21:37Z","updated_at":"2015-11-16T23:21:37Z","body":"Hello,\r\nAs far as I can see, this commit only partially solves the problem stated in the title. It seems like one still cannot pass a non-default-constructible value to a function. This part of `xxx_wrap.cpp` is responsible for the problem:\r\n```mako\r\n     %if not overload._dict_call : \r\n     // define the variable to be filled by the parsing method\r\n     // wrapped types are converted to a pointer, other converted types to a value or a view\r\n     %for t,n,d in overload.args :\r\n       %if t in module._wrapped_types :\r\n       ${t}* ${n} = NULL; // ${t} is a wrapped type\r\n       %elif is_type_a_view(t):\r\n       ${t} ${n}  = typename ${t}::regular_type{}; // ${t} is a view, but not wrapped\r\n       %else:\r\n       ${t} ${n} ${'=%s'%d if d else ''}; //  ${t} is a regular type\r\n       %endif\r\n     %endfor\r\n```\r\nIs it possible to always use the pointers here?\r\nThanks in advance!\r\n\r\nCheers,\r\nIgor\r\n"}}