summaryrefslogtreecommitdiff
path: root/docs/data/core/tmpl_concat.json
blob: 8260faa22422533a44ec0c493b363353e8757681 (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
25
26
27
28
29
30
31
32
33
34
{
	"format": 1,
	"id": "saw-tmpl_concat",
	"kind": "struct",
	"name": "tmpl_concat",
	"namespace": "saw",
	"module": "core",
	"header": "modules/core/c++/templates.hpp",
	"brief_description": "Concats two groups into one.",
	"detailed_description": [
		[
			"Declared only; the work happens in the specializations, one for",
			{"name": "tmpl_group", "id": "saw-tmpl_group"},
			"and one for",
			{"name": "tmpl_value_group", "id": "saw-tmpl_value_group"},
			"so concatenating anything else is a compile error rather than a surprise."
		],
		[
			"The value groups have to agree on their value type, which the specialization enforces by binding it once for both sides."
		]
	],
	"templates": [
		{"name": "T", "kind": "type"},
		{"name": "U", "kind": "type"}
	],
	"aliases": {
		"saw-tmpl_concat-type": {
			"id": "saw-tmpl_concat-type",
			"name": "type",
			"type": ["tmpl_group< T..., U... >"],
			"brief_description": "The joined group. Only present on the specializations."
		}
	}
}