LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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 "cetlib/metaprogramming.h"
5
6
#include <type_traits>
7
8
namespace
art
{
9
namespace
detail {
10
template
<
class
T,
class
Enable =
void
>
11
struct
is_handle
: std::false_type {
12
};
13
14
template
<
class
T>
15
struct
is_handle
<T,
cet
::
enable_if_type_exists_t
<typename T::HandleTag>>
16
: std::true_type {
17
};
18
19
template
<
class
T,
class
U>
20
struct
are_handles
{
21
static
constexpr
bool
value
{
detail::is_handle<T>::value
&&
22
detail::is_handle<U>::value
};
23
};
24
}
25
}
26
#endif
/* canvas_Persistency_Common_detail_is_handle_h */
27
28
// Local Variables:
29
// mode: c++
30
// End:
art::detail::is_handle
Definition:
is_handle.h:11
cet
Definition:
get_LibraryInfoCollection.h:10
lar::details::enable_if_type_exists_t
typename enable_if_type_exists< T, R >::type enable_if_type_exists_t
Definition:
FindManyInChainP.h:34
fhicl::detail::atom::value
std::string value(boost::any const &)
Definition:
printing_helpers.cc:97
art
HLT enums.
Definition:
ServiceProviderWrappers.h:36
art::detail::are_handles
Definition:
is_handle.h:20
canvas
Persistency
Common
detail
is_handle.h
Generated on Wed Dec 12 2018 14:42:34 for LArSoft by
1.8.11