LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/

Basic C++ metaprogramming utilities. More...

#include <type_traits>

Go to the source code of this file.

Classes

struct  util::details::ClassNameStaticDumper< T >
 Implementation detail of staticDumpClassName(). More...
 
struct  util::self_type< T >
 Trait returning the very same type as in the template argument. More...
 
struct  util::always_false_type< typename >
 A std::false_type with a template argument. More...
 
struct  util::always_true_type< typename >
 A std::true_type with a template argument. More...
 
struct  util::details::ClassNameStaticDumper< T >
 Implementation detail of staticDumpClassName(). More...
 

Namespaces

 util
 Namespace for general, non-LArSoft-specific utilities.
 
 util::details
 

Typedefs

template<typename T >
using util::self_t = typename self_type< T >::type
 The very same type as in the template argument. More...
 
template<bool Value>
using util::bool_constant = std::integral_constant< bool, Value >
 
template<typename BoolTrait >
using util::negation = bool_constant<!BoolTrait::value >
 
template<typename A , typename B >
using util::is_not_same = negation< std::is_same< A, B >>
 

Functions

template<typename T >
void util::staticDumpClassName ()
 Helper to determine the type of a variable at compilation time. More...
 
template<typename T >
void util::staticDumpClassName (T)
 Helper to determine the type of a variable at compilation time. More...
 

Variables

template<typename >
constexpr bool util::always_false_v = false
 A templated constant, always false. More...
 
template<typename >
constexpr bool util::always_true_v = true
 A template constant always true. More...
 

Detailed Description

Basic C++ metaprogramming utilities.


Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.fnal..nosp@m.gov)
Date
January 12, 2017

Definition in file MetaUtils.h.