summaryrefslogtreecommitdiff
path: root/docs/data/core/tmpl_group.json
blob: c99949269f59dfa69d6afe10e52a38af138bf5c7 (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
35
36
37
38
39
{
	"format": 1,
	"id": "saw-tmpl_group",
	"kind": "struct",
	"name": "tmpl_group",
	"namespace": "saw",
	"module": "core",
	"header": "modules/core/c++/templates.hpp",
	"brief_description": "A list of types, carried as a type.",
	"detailed_description": [
		[
			"Lets a pack be passed around, stored in an alias and handed to another template, which a bare parameter pack cannot. The remote layer uses one to name every schema an interface mentions, and then maps it to a tuple of servers."
		]
	],
	"templates": [
		{"name": "T", "kind": "type", "pack": true}
	],
	"attributes": {
		"saw-tmpl_group-name": {
			"id": "saw-tmpl_group-name",
			"name": "name",
			"type": [{"name": "string_literal", "id": "saw-string_literal"}],
			"visibility": "public",
			"static": true,
			"constexpr": true,
			"initializer": "\"tmpl_group\"",
			"brief_description": "Used when hashing a group."
		},
		"saw-tmpl_group-size": {
			"id": "saw-tmpl_group-size",
			"name": "size",
			"type": ["uint64_t"],
			"visibility": "public",
			"static": true,
			"constexpr": true,
			"initializer": "sizeof...(T)"
		}
	}
}