Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
canvas
canvas
Persistency
Common
detail
is_handle.h
Go to the documentation of this file.
1
#ifndef canvas_Persistency_Common_detail_is_handle_h
2
#define canvas_Persistency_Common_detail_is_handle_h
3
4
#include <type_traits>
5
6
namespace
art::detail
{
7
template
<
typename
T,
typename
=
void
>
8
struct
is_handle
: std::false_type {};
9
10
template
<
typename
T>
11
struct
is_handle
<
T
,
std
::void_t<typename T::HandleTag>> : std::true_type {};
12
13
template
<
typename
T,
typename
U>
14
struct
are_handles
{
15
static
constexpr
bool
value
{
detail::is_handle<T>::value
&&
16
detail::is_handle<U>::value
};
17
};
18
}
19
#endif
/* canvas_Persistency_Common_detail_is_handle_h */
20
21
// Local Variables:
22
// mode: c++
23
// End:
art::detail::is_handle
Definition:
is_handle.h:8
ValidateOpDetSimulation.T
T
Definition:
ValidateOpDetSimulation.py:52
std
STL namespace.
art::detail
Definition:
AllowedConfiguration.h:76
submit_mcc.value
value
Definition:
submit_mcc.py:159
art::detail::are_handles
Definition:
is_handle.h:14
Generated by
1.8.11