LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
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 &&
23  };
24  }
25 }
26 #endif /* canvas_Persistency_Common_detail_is_handle_h */
27 
28 // Local Variables:
29 // mode: c++
30 // End:
typename enable_if_type_exists< T, R >::type enable_if_type_exists_t
std::string value(boost::any const &)
HLT enums.