Home | History | Annotate | Download | only in include

Lines Matching refs:tag_type

107 template <TagType tag_type, Tag tag> struct TypedTag {
110 // 'tag_type'. Attempting to instantiate a tag with the wrong type will result in a compile
112 static_assert(typeFromTag(tag) == tag_type, "mismatch between tag and tag_type");
198 #define MAKE_TAG_VALUE_ACCESSOR(tag_type, field_name) \
199 template <Tag tag> struct TypedTag2ValueType<TypedTag<tag_type, tag>> { \
203 inline auto accessTagValue(TypedTag<tag_type, tag>, const KeyParameter& param) \
208 inline auto accessTagValue(TypedTag<tag_type, tag>, KeyParameter& param) \
246 template <TagType tag_type, Tag tag, typename ValueT>
247 inline KeyParameter makeKeyParameter(TypedTag<tag_type, tag> ttag, ValueT&& value) {
271 template <TagType tag_type, Tag tag, typename... Args>
272 inline KeyParameter Authorization(TypedTag<tag_type, tag> ttag, Args&&... args) {
273 static_assert(tag_type != TagType::BOOL || (sizeof...(args) == 0),
275 static_assert(tag_type == TagType::BOOL || (sizeof...(args) == 1),
278 tag_type == TagType::BOOL ||
280 typename TypedTag2ValueType<TypedTag<tag_type, tag>>::type>::value,
344 template <TagType tag_type, Tag tag>
345 inline NullOr<const typename TypedTag2ValueType<TypedTag<tag_type, tag>>::type&>
346 authorizationValue(TypedTag<tag_type, tag> ttag, const KeyParameter& param) {