VIPRA Documentation
Loading...
Searching...
No Matches
include
vipra
util
has_tag.hpp
1
#pragma once
2
3
#include <type_traits>
4
5
namespace
VIPRA::Util {
6
template
<
typename
type_t,
typename
=
int
>
7
// NOLINTNEXTLINE
8
struct
has_tag
: std::false_type {};
9
10
template
<
typename
type_t>
11
struct
has_tag
<type_t, decltype((void)type_t::tag, 0)> : std::true_type {};
12
}
// namespace VIPRA::Util
VIPRA::Util::has_tag
Definition
has_tag.hpp:8
Generated by
1.13.2