{ "format": 1, "id": "saw-share", "kind": "function", "name": "share", "namespace": "saw", "module": "core", "header": "modules/core/c++/common.hpp", "type": [{"name": "our", "id": "saw-our"}, "< T >"], "brief_description": "Constructs an object on the heap under shared ownership.", "detailed_description": [ [ "The counterpart of", {"name": "heap", "id": "saw-heap"}, "for the cases where ownership is genuinely shared." ] ], "templates": [ {"name": "T", "kind": "type"}, {"name": "Args", "kind": "type", "pack": true} ], "parameters": [ {"name": "args", "type": ["Args &&..."], "brief_description": "Forwarded to the constructor of T."} ] }