LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
Dereference.h File Reference
#include <type_traits>

Go to the source code of this file.

Classes

struct  lar::util::details::is_type< T >
 Class compiling only if type T exists (then, it's std::true_type) More...
 
struct  lar::util::details::has_dereference_class< T, Enable >
 Class defining whether the specified type can be dereferenced. More...
 
struct  lar::util::details::has_dereference_class< T, typename std::enable_if< is_type< decltype(*(T()))>::value, void >::type >
 
struct  lar::util::details::dereferenced_type< T, CanDereference >
 Class holding the type dereferenced from an object of type T. More...
 
struct  lar::util::details::dereferenced_type< T, true >
 
struct  lar::util::details::dereference_class< T, CanDereference >
 Functor returning the dereferenced value of the argument. More...
 
struct  lar::util::details::dereference_class< T, true >
 
struct  lar::util::details::make_pointer_class< T, CanDereference >
 Functor returning the pointer to a value in the argument. More...
 
struct  lar::util::details::make_pointer_class< T, true >
 
struct  lar::util::dereferenced_type< T >
 Class defining the dereferenced type of the specified type. More...
 

Namespaces

 lar
 LArSoft-specific namespace.
 
 lar::util
 LArSoft utility namespace.
 
 lar::util::details
 LArSoft utility implementation details.
 

Functions

template<typename T >
details::dereference_class< T, details::has_dereference_class< T >::value >::reference_type lar::util::dereference (T &v)
 Returns the value pointed by the argument, or the argument itself. More...
 
template<typename T >
details::make_pointer_class< T, details::has_dereference_class< T >::value >::pointer_type lar::util::make_pointer (T &v)
 Returns a pointer to the value of argument, or the argument itself. More...