summaryrefslogtreecommitdiff
path: root/docs/data/core/our.json
blob: e1ab459c16a6fc9267ad862324815ec280fd5a5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
	"format": 1,
	"id": "saw-our",
	"kind": "alias",
	"name": "our",
	"namespace": "saw",
	"module": "core",
	"header": "modules/core/c++/common.hpp",
	"type": ["std::shared_ptr< T >"],
	"brief_description": "Shared ownership of a heap object.",
	"detailed_description": [
		[
			"Used where several parties genuinely keep something alive, such as a device handle held by both a server and the data allocated on it. Where one owner is enough, prefer",
			{"name": "own", "id": "saw-own"}
		],
		[
			"Created through",
			{"name": "share", "id": "saw-share"}
		]
	],
	"templates": [
		{"name": "T", "kind": "type"}
	]
}